0 Members and 1 Guest are viewing this topic.
telnet domain.com 80Trying xxx.131.211.247...Connected to domain.com.Escape character is '^]'.
telnet domain.com 443Trying xxx.131.211.247...telnet: connect to address xxx.131.211.247: Connection refusedtelnet: Unable to connect to remote host
netstat -tuplen
$ iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT$ iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT$ iptables-save | sudo tee /etc/sysconfig/iptables$ service iptables restart$ service iptables restartiptables: Setting chains to policy ACCEPT: filter [ OK ]iptables: Flushing firewall rules: [ OK ]iptables: Unloading modules: [ OK ]iptables: Applying firewall rules: [ OK ][root@server ~]# telnet localhost 443Trying ::1...telnet: connect to address ::1: Connection refusedTrying 127.0.0.1...telnet: connect to address 127.0.0.1: Connection refused
nmap localhostStarting Nmap 5.51 ( http://nmap.org ) at 2016-06-21 08:39 UTCNmap scan report for localhost (127.0.0.1)Host is up (0.0000040s latency).Other addresses for localhost (not scanned): 127.0.0.1Not shown: 982 closed portsPORT STATE SERVICE21/tcp open ftp25/tcp open smtp53/tcp open domain80/tcp open http110/tcp open pop3143/tcp open imap465/tcp open smtps587/tcp open submission993/tcp open imaps995/tcp open pop3s2200/tcp open ici3306/tcp open mysql7777/tcp open cbt7778/tcp open interwise8080/tcp open http-proxy8083/tcp open us-srv8084/tcp open unknown8443/tcp open https-altNmap done: 1 IP address (1 host up) scanned in 0.10 seconds
Page created in 0.044 seconds with 21 queries.