curl: (7) Failed to connect to localhost port 8080 Connection refused

I am trying to use this command to see the running status of my port, but I am getting this error in a loop. Kindlly help!

4

1 Answer

Apparently, port 8080 is not open on the host in question. To see if something is listening on a certain port or if it's open at all, you can use netstat -tlpen | grep 8080 or nc -vz [host] [port]

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like