Amira Bedhiafi
Amira Bedhiafi

Reputation: 1

Port 8080 not listening Gunicorn HTTP server

I installed my app dependencies using pip:

pip3 install -r requirements.txt --user

Then installed the Gunicorn HTTP server:

pip3 install gunicorn --user

but when I try to run the Gunicorn HTTP server on GCP :

~/.local/bin/gunicorn -b :8080 main:app

I get the following error :

enter image description here

When I try to check the port 8080 with cmd:

 -a -n -o | find "8080"

nothing shows up.

Upvotes: 0

Views: 574

Answers (1)

shamnad sherief
shamnad sherief

Reputation: 638

sudo fuser -k 8080/tcp

This will kill all the process accessing 8080 port. Then retry

Upvotes: 2

Related Questions