gunicorn [ERROR] Can't connect to ('0.0.0.0', 80)

General support questions
Post Reply
gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

gunicorn [ERROR] Can't connect to ('0.0.0.0', 80)

Post by gw1500se » 2019/06/22 15:54:19

I have installed gunicorn for PyPI following these instructions:

https://pypi.org/project/openvpn-monitor/

I am at the point where I am using the command:
gunicorn openvpn-monitor -b 0.0.0.0:80

The result is:
[2019-06-22 11:47:09 +0000] [20317] [INFO] Starting gunicorn 19.9.0
[2019-06-22 11:47:09 +0000] [20317] [ERROR] Connection in use: ('0.0.0.0', 80)
[2019-06-22 11:47:09 +0000] [20317] [ERROR] Retrying in 1 second.
[2019-06-22 11:47:10 +0000] [20317] [ERROR] Connection in use: ('0.0.0.0', 80)
[2019-06-22 11:47:10 +0000] [20317] [ERROR] Retrying in 1 second.
[2019-06-22 11:47:11 +0000] [20317] [ERROR] Connection in use: ('0.0.0.0', 80)
[2019-06-22 11:47:11 +0000] [20317] [ERROR] Retrying in 1 second.
[2019-06-22 11:47:12 +0000] [20317] [ERROR] Connection in use: ('0.0.0.0', 80)
[2019-06-22 11:47:12 +0000] [20317] [ERROR] Retrying in 1 second.
[2019-06-22 11:47:13 +0000] [20317] [ERROR] Connection in use: ('0.0.0.0', 80)
[2019-06-22 11:47:13 +0000] [20317] [ERROR] Retrying in 1 second.
[2019-06-22 11:47:14 +0000] [20317] [ERROR] Can't connect to ('0.0.0.0', 80)

Can someone tell me what I am missing? TIA.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: gunicorn [ERROR] Can't connect to ('0.0.0.0', 80)

Post by TrevorH » 2019/06/22 16:07:57

Something is already running and using port 80 on your machine. Either stop it, move it or choose a different port for this.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

gw1500se
Posts: 222
Joined: 2012/05/07 13:53:35

Re: gunicorn [ERROR] Can't connect to ('0.0.0.0', 80)

Post by gw1500se » 2019/06/22 16:36:08

Thanks. I'm at the bottom of the learning curve. I thought port 80 was required.

Post Reply