I am using Ubuntu 10.4 LTS and I need to get telnet server on my machine to work (connect) to localhost at port 4242. I tried:
~> telnet localhost 4242 Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused
*telnet does work (for example on port 23).
Tried to flush/open possible firewall issues by using:
~> sudo ip6tables --flush ~> sudo iptables --flush ~> sudo ufw allow 4242
And still nothing works. Also used nmap to scan open ports on localhost (
sudo nmap localhost ) and port 4242 doesn't appear there.
What am I missing? How can I configure telnet server to be opened on port 4242?
Thanks a bunch!
Edited 4 Years Ago by FelineHazard: Adding code tags