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

run pogobag from port forward? #81

Closed imattv2 closed 8 years ago

imattv2 commented 8 years ago

just wanted to know if its possible to run pogobag through a NAT server or not? I wasnt able to find a discord thread, so posting via issue was my only reasonable call for help.

i tried rails s -p 3000 and then rerouting to it via myip:3000 from my phone, but it doesnt load (i probably did something wrong with cmd)

cmd shows:

=> Booting Puma => Rails 5.0.0 application starting in development on http://localhost:3000 => Run rails server -h for more startup options Please add the following to your Gemfile to avoid polling for changes: gem 'wdm', '>= 0.1.0' if Gem.win_platform? Please add the following to your Gemfile to avoid polling for changes: gem 'wdm', '>= 0.1.0' if Gem.win_platform? * SIGUSR2 not implemented, signal based restart unavailable! * SIGUSR1 not implemented, signal based restart unavailable! *\ SIGHUP not implemented, signal based logs reopening unavailable! Puma starting in single mode...

Dajen commented 8 years ago

You just need to run it with flag -b 0.0.0.0 Then the server will listen on any IP, not just localhost.

So the whole command would be rails s -b 0.0.0.0 then you will be able to reach from internet on address yourIP:3000