Test connectivity for the web service: Difference between revisions
Jump to navigation
Jump to search
m
→Is the service alive or the port was occupied by other process?
No edit summary |
|||
| Line 38: | Line 38: | ||
* More on [[Network problem]] | * More on [[Network problem]] | ||
=== Is the service alive | === Is the web service alive === | ||
* Apache {{kbd | key = /etc/init.d/httpd status}} on CentOS7 <ref>[https://www.e2enetworks.com/help/knowledge-base/how-to-check-running-status-of-lamp-stack/ How to check running status of LAMP stack | E2E Networks Knowledgebase]</ref> | |||
* nginx {{kbd | key = sudo service nginx status}} on CentOS7 | |||
* Docker container {{kbd | key = docker ps}} to check if the container is running & expose the port<ref>[https://docs.docker.com/engine/reference/commandline/ps/ docker ps | Docker Documentation]</ref> | |||
=== Is the the port was occupied by other process? === | |||
Check the port if used by other protocol | Check the port if used by other protocol | ||
* [https://www.speedguide.net/ports.php SG TCP/IP Ports Database] | * [https://www.speedguide.net/ports.php SG TCP/IP Ports Database] | ||