Go Back   Flash Flash Revolution > General Discussion > Technology
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 03-8-2014, 02:58 AM   #1
stargroup100
behanjc & me are <3'ers
FFR Simfile AuthorFFR Music Producer
 
Join Date: Jul 2006
Posts: 2,051
Default Putting socket.io on a Website

So I'm getting into working with node.js and socket.io to make real-time web games, but I'm running into some obstacles.

I've already figured out how to install node.js and socket.io on my computer, and I can run basic servers and open them through http://localhost:8888/.

But now what I don't understand, and there doesn't seem to be anything on the web that explains this, is how to get this onto a website. Obviously, someone else on the internet that enters that same URL isn't going to see the same thing as what's on my screen. How do I get this onto a webpage so that anyone that visits that URL accesses the server?
stargroup100 is offline   Reply With Quote
Old 03-8-2014, 05:54 AM   #2
Wayward Vagabond
Confirmed Heartbreaker
Retired StaffFFR Simfile AuthorFFR Veteran
 
Wayward Vagabond's Avatar
 
Join Date: Jul 2012
Age: 35
Posts: 5,858
Default Re: Putting socket.io on a Website

Use html code idk
__________________
Wayward Vagabond is offline   Reply With Quote
Old 03-10-2014, 10:02 AM   #3
choof
Banned
Retired StaffFFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
Join Date: Nov 2013
Posts: 8,563
Default Re: Putting socket.io on a Website

is there a specific error you're getting? i don't know anything about js but i instantly thought of permissions

see if dev console of the user's browser reports any errors as well
choof is offline   Reply With Quote
Old 03-10-2014, 10:15 AM   #4
arcnmx
nanodesu~
Retired StaffFFR Veteran
 
arcnmx's Avatar
 
Join Date: Jan 2013
Location: Ontario, Canada
Posts: 503
Send a message via Skype™ to arcnmx
Default Re: Putting socket.io on a Website

Uh, you have to install node.js and socket.io on a server instead of your personal computer. That generally requires that you have hosting with shell access, or a dedicated server / VPS.
__________________


FMO AAAs (1): Within Life :: FGO AAAs (1): Einstein-Rosen Bridge
arcnmx is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution