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

Explain ports and host in Troubleshooting guide #560

Closed
ChaosBlades opened this issue Apr 11, 2020 · 8 comments
Closed

Explain ports and host in Troubleshooting guide #560

ChaosBlades opened this issue Apr 11, 2020 · 8 comments
Assignees
Labels
documentation Improvements or additions to documentation
Projects

Comments

@ChaosBlades
Copy link

ChaosBlades commented Apr 11, 2020

Unless I am mistaken the default OctoPrint port number will be 80 for 99% of installations. So that is what it should be during setup instead of 5000.

Edit: This is to avoid confusion during setup. Most users like I did assume the provided port is what a standard installation of OctoPrint would be set to.

@ChaosBlades ChaosBlades added the bug Something isn't working label Apr 11, 2020
@fruvous
Copy link

fruvous commented Apr 11, 2020

Port 5000 is the port that the API uses

@ChaosBlades
Copy link
Author

Weird. It would not work for me. Only port 80 worked.

@nicwilson58
Copy link

5000 worked fine for me

@ChaosBlades
Copy link
Author

Does 80 work for you?

@harleyg321
Copy link
Contributor

The haproxy config in octopi just redirects port 80 to 127.0.0.1:5000, so in theory (assuming octodash and octoprint are running on the same pi) octodash should always work when pointed at 127.0.0.1:5000 (or localhost:5000) even if port 80 is also accessible.

Using port 80 would require haproxy set up to forward the port. Octopi may have this enabled by default (it looks like), but for example I just installed octoprint on raspbian so I don't have haproxy running.

@ChaosBlades
Copy link
Author

Ah, so my problem is that I used the same IP as when I log in from my browser instead of localhost.

Can we add this information to the Wiki Troubleshooting section?

@UnchartedBull
Copy link
Owner

5000 is the default port. I‘ll add this info to the troubleshooting guide later. Thanks for the info!

@UnchartedBull UnchartedBull added documentation Improvements or additions to documentation and removed bug Something isn't working labels Apr 12, 2020
@UnchartedBull UnchartedBull changed the title Default port number during setup should be 80 not 5000 Explain ports and host in Troubleshooting guide Apr 12, 2020
@UnchartedBull UnchartedBull added this to To do in v2 Release via automation Apr 14, 2020
@UnchartedBull
Copy link
Owner

Has been added to the troubleshooting guide alongside with a brief documentation about each setting.

v2 Release automation moved this from To do to Done Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
v2 Release
  
Done
Development

No branches or pull requests

5 participants