Test connectivity for the web service: Difference between revisions
Jump to navigation
Jump to search
m
→Check if a port was occupied by other process?
| Line 56: | Line 56: | ||
[[Find process running on port]] | [[Find process running on port]] | ||
* {{Linux}} | * {{Linux}} | ||
** [http://linux.die.net/man/1/nmap nmap] "Network exploration tool and security / port scanner." e.g. {{kbd | key = <nowiki>nmap -p 80,443 ip</nowiki>}} | ** [http://linux.die.net/man/1/nmap nmap] "Network exploration tool and security / port scanner." e.g. {{kbd | key = <nowiki>nmap -p 80,443 ip</nowiki>}} | ||
| Line 62: | Line 63: | ||
** [https://docs.oracle.com/cd/E19504-01/802-5753/6i9g71m3i/index.html netstat Command] {{kbd | key=<nowiki>netstat -tulpn | grep LISTEN</nowiki>}} e.g. | ** [https://docs.oracle.com/cd/E19504-01/802-5753/6i9g71m3i/index.html netstat Command] {{kbd | key=<nowiki>netstat -tulpn | grep LISTEN</nowiki>}} e.g. | ||
Example output of netstat command | |||
<pre> | <pre> | ||
$ netstat -tulpn | grep LISTEN | $ netstat -tulpn | grep LISTEN | ||
| Line 72: | Line 72: | ||
</pre> | </pre> | ||
* {{Win}} | |||
** Using the software [http://www.nirsoft.net/utils/cports.html CurrPorts] to check the process and port. e.g. Apache will not running if the 80 port was occupied by skype<ref>[http://stackoverflow.com/questions/4705005/how-to-solve-wamp-and-skype-conflict-on-windows-7 How to solve WAMP and Skype conflict on Windows 7? - Stack Overflow]</ref>. | |||
=== Check if a port is blocked by browser === | === Check if a port is blocked by browser === | ||