It is a general command to check which program is using port 80. And also known the PID of this process. Then to force stop it and release the port 80 to other program.
root@ubuntu:~# lsof -i:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 1314 root 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 2582 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 4464 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 9980 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 9982 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10120 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10147 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10282 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10283 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10543 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
apache2 10544 www-data 4u IPv6 9663 0t0 TCP *:http (LISTEN)
To get more details of how to use command lsof, enter lsof –help to get the help.
I read the PC Magazine sometimes. One term is coming often and often. It is Thunderbolt.
It is a new standard for I/O device of computer.
Thunderbolt (codenamed Light Peak) is a hardware interface that allows for the connection of external peripherals to a computer. It uses the same connector as Mini DisplayPort (MDP). It was released in its finished state on February 24, 2011.
Compared with other ports of PC, the speed of I/O is much more fast. See below.
USB 3.0 is a fast speed connection between PC and portable disk. But the Intel said Thunderbolt can provide double speed of USB 3.0. It is not enough. 10Gbps is just one way. Thunderbolt can do same speed at the both directions. So max total is 20Gbps.
Continue reading “New interface: Thunderbolt”
I enabled IIS 7 on one of my Windows 7 box. When I click start the default site, it always give me error. Said something wrong of the setting. Only when I change the binding port to other than 80, it works.
So, I think port 80 is occupied by other program.
I google it and find the way to point it out.
1) Command line.
I found PID 2448 took the port 80
2) Command line
So it is clear that Skype use Port 80
Continue reading “Which one occupied Port 80”
The following IP Ports and Protocols are excerpted from Networking Fundamentals.
Port number – Protocols name
20 – File Transfer Protocol (FTP) data
21 – File Transfer Protocol (FTP) control
23 – Telnet
25 – Simple Mail Transfer Protocol (SMTP)
53 – Domain Name Service (DNS)
80 – HyperText Transfer Protocol (HTTP)
110 – Post Office Protocol version 3 (POP3)
119 – Network News Transport Protocol (NNTP)
139 – NetBIOS Session Service
143 – Internet Message Access Protocol (IMAP)
161 – Simple Network Management Protocol (SNMP)
Common protocols include TCP, UDP and ICMP. There are actually a great number of protocols, but these three are the most prevalent. TCP is used to handle the underlying data streams for web, email, news and almost every other popular network application. That does not mean that UDP and ICMP are not important however.
Continue reading “IP Ports and Protocols”