Cannot establish connection to application listening on 0.0.0.0:8443

2.7k views Asked by At

I have an application that is listening on 0.0.0.0:8443 (local address).

"netstat -ant" output:

proto||Recv-Q||Send-Q||Local Address||Foreign Address||State
tcp||0||0||0.0.0.0:22||0.0.0.0:||LISTEN
tcp||0||0||0.0.0.0:8443||0.0.0.0:
||LISTEN

These are the only two ports that are listening. When i telnet localhost port 22 and 8443, both are able to connect. But when i telnet from another computer on the same subnet, i am able to connect to port 22 but not port 8443. The host and client computer are only connected via a switch. What could be the cause?

2

There are 2 answers

1
Aravind R On BEST ANSWER

Looks like it is not open in IPtables. Please follow the below link for same.

https://serverfault.com/questions/301903/cannot-access-port-80-from-remote-location-but-works-on-local

guess it deals with same question.

0
Hett On

Have you checked the firewall settings? Maybe you need to open tcp port from iptables?