2
I have Apache running on 192.168.0.201 and listening to Port 80. namp shows me that Port 80/TCP is open and service is http.
[root@desktop ~]# nmap -p 80 -sT 192.168.0.201
Starting Nmap 5.51 ( http://nmap.org ) at 2013-07-16 00:54 PDT
Nmap scan report for 192.168.0.201
Host is up (0.00083s latency).
PORT STATE SERVICE
80/tcp open http
MAC Address: 00:5C:53:4E:4B:00 (Dell)
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
I then changed Apache to listen to Port 8080 instead of Port 80. namp now shows me that Port 80/TCP is closed and service remains http. namp also now shows me that Port 8080/TCP is open and service is http-proxy.
What is the significance of http-proxy? Why did it change when I only changed the listen to port?
[root@desktop ~]# nmap -p 80 -sT 192.168.0.201
Starting Nmap 5.51 ( http://nmap.org ) at 2013-07-16 00:57 PDT
Nmap scan report for 192.168.0.201
Host is up (0.00067s latency).
PORT STATE SERVICE
80/tcp closed http
MAC Address: 00:5C:53:4E:4B:00 (Dell)
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
[root@desktop ~]# nmap -p 8080 -sT 192.168.0.201
Starting Nmap 5.51 ( http://nmap.org ) at 2013-07-16 00:57 PDT
Nmap scan report for 192.168.0.201
Host is up (0.00072s latency).
PORT STATE SERVICE
8080/tcp open http-proxy
MAC Address: 00:5C:53:4E:4B:00 (Dell)
Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
[root@desktop ~]#