Created
February 7, 2019 08:06
-
-
Save aonurdemir/cc4a815c328fe8bc6043895744e3bec7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nmap <IP-ADDRESS> -- list ports | |
| Well, there are a few things you can check: Are you querying the right port on the client side ? Is your service started ? Is it listening on the right port ? | |
| Those three questions will generally help you solve your issue. | |
| Quick generic command to be entered on the server (the machine that runs the service) | |
| Checking that the service is listening on the expected port | |
| ss -nat | grep <enter port number here> | grep LISTEN | |
| Some people on older systems might also use this | |
| netstat -an | grep <enter port number here> | grep LISTEN | |
| If you don't see anything here that looks like your port number, your service is either not started or not listening on the port number you specified. | |
| Checking that the service is running | |
| service <service name> status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment