My application listens on port 8180.When I am trying to connect to port 8180 locally.Connection got refused.But when I am trying to connect to port with ip . I am able to connect.[root@MUMLGOMAPP002 ~]# telnet 10.209.129.54 8180Trying 10.209.129.54...Connected to MUMLGOMAPP002 (10.209.129.54).Escape character is '^]'.^]telnet> qConnection closed.[root@MUMLGOMAPP002 ~]# telnet localhost 8180Trying 127.0.0.1...telnet: connect to address 127.0.0.1: Connection refusedtelnet: Unable to connect to remote host: Connection refusedMy interface is :[root@MUMLGOMAPP002 ~]# ifconfigbond0     Link encap:Ethernet  HWaddr 44:1E:A1:73:F7:50          inet addr:10.209.129.54  Bcast:10.209.129.63  Mask:255.255.255.224          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1          RX packets:322997568 errors:23 dropped:0 overruns:0 frame:0          TX packets:304470664 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:213628580915 (198.9 GiB)  TX bytes:217449664400 (202.5 GiB)I would like to know what is the difference between telnetting localhost and ip.
Telnetting the Local port not working but trying the ip working
telnet