Cannot telnet to a port
Hi,
I am using the following command to telnet to a port on localhost, but it say the following
telnet localhost 50015
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: No route to host
The main issue is, when I am trying to connect to a DB2 database on that port it shows the below message and there is no other port that I can use.
Cannot connect to 'localhost' on port 50015
I have disabled the firewall and checkd its the same, actually the port is not at all showing up
netstat -tap | grep 50015
Do I need to make that port LISTEN?Do I have to create a service, if so then what service should I create? I am really confused with what to do.
I would really appreciate any help regarding this.