Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port 80 #78

Open
AndreasEnemyr opened this issue Aug 18, 2016 · 3 comments
Open

Port 80 #78

AndreasEnemyr opened this issue Aug 18, 2016 · 3 comments

Comments

@AndreasEnemyr
Copy link

Can i open up to port 80? Because i just get an error when i use rails s -b 192.168.1.xxx -p 80

error:
Permission denied - bind(2) for "192.168.1.xxx" port 80 (Errno::EACCES)
then i try with sudo rails s -b 192.168.1.xxx -p 80 but then i get
Could not find 'railties' (>= 0.a) among 16 total gem(s) (Gem::LoadError)

anyone know? :(

@dphuang2
Copy link
Owner

could you try to run 'gem install rails' and report back

@AndreasEnemyr
Copy link
Author

AndreasEnemyr commented Aug 18, 2016

@dphuang2

just tried, nah got /.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/dependency.rb:319:in 'to_specs': Could not find 'railties' (>= 0.a) among 16 total gem(s) (Gem::LoadError)

@shoootyou
Copy link
Contributor

I have the same error and I ran with sudo and everything works.

Logically, I need install all on sudo mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants