I have a ubuntu 14.10, and am trying to telnet into it via port 5060 but I keep failing. I always get the message "Connection closed by foreign host".
I checked my iptable, it is default policy to ACCEPT, and ufw is inactive.
So I should be able to telnet into 5060 right? What else could be blocking it?
root@server:/var/log# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@server:/var/log#
root@server:/var/log# ufw status
Status: inactive
root@server:/var/log#
but telneting just gives me this.
user@host ~
$ telnet 192.168.0.5 5060
Trying 192.168.0.5...
Connected to 192.168.0.5.
Escape character is '^]'.
Connection closed by foreign host.
I want to run sip traffic on that port later but I can't even open the port right now.
Thanks guys