dphuang2 / PoGoBag

Analyze and share your Pokémon through a locally run server! Official Site access has been stopped as of 12/23/2016
146 stars 49 forks source link

how to config localhost:3000 to my domain #83

Open myshinjio opened 8 years ago

myshinjio commented 8 years ago

localhost:3000 => www.mydomain.com

I used window server2012. I want to set domin public and Accessible to everyone.

Thank.

shoootyou commented 8 years ago

Do you have a Firewall? Or just a simple connection to Server?

Need to change the port, try rails s -p 80

Where are you hosting the SO?

evilhawk00 commented 8 years ago

not just -p param., -b 0.0.0.0 is also necessary if you want it to open for public not just localhost

So it should be : rails s -p 80 -b 0.0.0.0