Replies: 2 comments 8 replies
-
You should not be talking to gunicorn directly on port 8001 (indeed it should be bound to 127.0.0.1 so it doesn't permit remote access) You need a proxy in front of it (Apache or Nginx), and you talk to that, on port 80 or 443 usually. The proxy serves static files, and anything that's not under |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm having trouble getting netbox up and running.
Using Ubuntu 20.04 LTS as the underlying OS I followed the steps in the documentation precisely.
(Postgres is running on a different host. Not that I think that has anything to do with my issue. But wanted to mention it regardless.)
(I'm cloning the repo via git at this point).
It all looks good. At the end of this step I'm asked to test the application via
python3 manage.py runserver 0.0.0.0:8000 --insecure
Opening the IP of the host netbox is running on with my local browser works just fine. I can login with the user I created earlier. All seems good.
I continue with
Again, installation went fine. No errors. No hickups. gunicorn is running as a service on TCP 8001.
However when I now try to open it via my browser I get the following message.
I take a look at the server via CLI and files are all there.
I doublechecked my setup process and I'm very confident I did not miss any steps. However I still might be wrong.
I tried the search of this repo of course. But there were either no answers or the issue was similar but not identical.
There is one issue with a marked solution, yet in there nginx is used.
What are the required steps at this point so that gunicorn in itself works?
Any help is appreciated.
Have a great day! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions