-
Notifications
You must be signed in to change notification settings - Fork 34
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
no socket could be created (port 80) #314
Comments
port 80 is a system port. You cannot open it as a non-root user. |
https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux |
I tried running the server as root and received this error (and I'm in the emission environment too)
|
@ecvick85 do you remember what the |
also, you might want to look up what sudo actually does, including in terms of environment variable propagation. |
@ecvick85 did you figure this out? If you did not, then instead of doing the pedagogically right thing and helping you figure out the answer, I might just tell you, since we do have to get this to work before the demo to Trevor's professor. |
The server is back up - I don't think I did it the safe way, however. I logged in as root (sudo -s) then I started the emission environment and restarted the server on port 80. |
@ecvick85 Great job! We were able to do this the pedagogically right way because you figured out the answer yourself :) You are right that it is still not the best overall solution (as the posts on stackoverflow said) but I think it is fine for now. |
Doesn't seem to be running on port 80. I just tried connecting to http://52.91.65.149 and it hangs. |
ah, I had to open port 80 in the incoming port list |
@ecvick85 if this is resolved, can you please close this bug? |
When trying to run the server on port 80, we are receiving this error:
Any tips?
The text was updated successfully, but these errors were encountered: