Test connectivity for the web service: Difference between revisions

Jump to navigation Jump to search
m
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 60: Line 60:


:3306: This specifies the port number. Port 3306 is commonly used by MySQL, a popular database management system. By including :3306, you are asking lsof to list all network files (which includes socket connections) that are associated with port 3306.
:3306: This specifies the port number. Port 3306 is commonly used by MySQL, a popular database management system. By including :3306, you are asking lsof to list all network files (which includes socket connections) that are associated with port 3306.
Example output: localhost:mysql (LISTEN) means the MySQL has started successfully
<pre>
COMMAND    PID      USER  FD  TYPE            DEVICE SIZE/OFF NODE NAME
mysqld    93034 account  29u  IPv4 0xxxx      0t0  TCP localhost:mysql (LISTEN)
</pre>


=== Check if a port was occupied by other process? ===
=== Check if a port was occupied by other process? ===
Anonymous user

Navigation menu