However while I tried telnetting in local host itself, I can see two different printouts:
[root@localhost ~]# telnet localhost 80 --refusing here
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
q
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.<br />
</p>
</body></html>
Connection closed by foreign host.
[root@localhost ~]# telnet 10.14.34.91 80 --Connecting here
Trying 10.14.34.91...
Connected to 10.14.34.91.
Escape character is '^]'.
[root@localhost ~]# nmap localhost
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000050s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds
[root@localhost ~]#
Whereas from the neighboring server in same subnet it looks like (No port 80)
[root@TEST_ZABBIX_1 ~]# nmap 10.xx.xx.xx
Nmap scan report for 10.xx.xx.xx
Host is up (0.00079s latency).
Not shown: 999 filtered ports
PORT STATE SERVICE
22/tcp open ssh
MAC Address: E6:D8:88:3D:C9:F1 (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 5.06 seconds
[root@TEST_ZABBIX_1 ~]#
NC print shows like this:
[root@localhost ~]# nc -vv localhost 80
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to ::1:80 (IOD #1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT ERROR [Connection refused (111)] for EID 8 [::1:80]
Ncat: Connection to ::1 failed: Connection refused.
Ncat: Trying next address...
libnsock nsock_connect_tcp(): TCP connection requested to
127.0.0.1:80 (IOD #1) EID 16
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 16 [
127.0.0.1:80]
libnsock nsi_new2(): nsi_new (IOD #2)
libnsock nsock_read(): Read request from IOD #1 [
127.0.0.1:80] (timeout: -1ms) EID 26
libnsock nsock_readbytes(): Read request for 0 bytes from IOD #2 [peer unspecified] EID 34
^Z
[1]+ Stopped nc -vv localhost 80
[root@localhost ~]# nc -vv 10.xx.xx.xx 80
libnsock nsi_new2(): nsi_new (IOD #1)
libnsock nsock_connect_tcp(): TCP connection requested to
10.14.34.91:80 (IOD #1) EID 8
libnsock nsock_trace_handler_callback(): Callback: CONNECT SUCCESS for EID 8 [
10.14.34.91:80]
libnsock nsi_new2(): nsi_new (IOD #2)
libnsock nsock_read(): Read request from IOD #1 [
10.14.34.91:80] (timeout: -1ms) EID 18
libnsock nsock_readbytes(): Read request for 0 bytes from IOD #2 [peer unspecified] EID 26
My OS is CentOS 7.0
Below are the other details (staus of other services and version)
[root@localhost bin]# ./scalr-server-manage
crond RUNNING pid 17836, uptime 6:11:57
httpd RUNNING pid 5268, uptime 3:43:27
memcached RUNNING pid 17835, uptime 6:11:57
mysql RUNNING pid 17833, uptime 6:11:57
rrd RUNNING pid 17827, uptime 6:11:57
service-analytics_poller RUNNING pid 17829, uptime 6:11:57
service-analytics_processor RUNNING pid 17834, uptime 6:11:57
service-dbqueue RUNNING pid 17826, uptime 6:11:57
service-msgsender RUNNING pid 17828, uptime 6:11:57
service-plotter RUNNING pid 17832, uptime 6:11:57
service-poller RUNNING pid 17831, uptime 6:11:57
service-szrupdater RUNNING pid 17830, uptime 6:11:57
zmq_service RUNNING pid 17837, uptime 6:11:57
supervisor> help
default commands (type help <topic>):
=====================================
add clear fg open quit remove restart start stop update
avail exit maintail pid reload reread shutdown status tail version
supervisor> version
3.1.3
supervisor>
I did follow the instruction as provided on the site.
Thanks & Regards,
Himanshu Jain