Score:0

Connection refused on open TCP port

gg flag

Server is listening on TCP port 10000 on two reachable addresses-

root@localhost:~# netstat -tulpan | grep 10000
tcp        0      0 172.30.83.74:10000      0.0.0.0:*               LISTEN      29009/python    
tcp        0      0 172.30.83.73:10000      0.0.0.0:*               LISTEN      29008/python  

One connection is reachable while the other isn't.

There is no firewall.

What could be the difference between them?

root@ubuntu22:/media/sf# nc -zvn 172.30.83.74 10000

nc: connect to 172.30.83.74 port 10000 (tcp) failed: Connection refused

root@ubuntu22:/media/sf# nc -zvn 172.30.83.73 10000

Connection to 172.30.83.73 10000 port [tcp/*] succeeded!

root@ubuntu22:/media/sf# ping 172.30.83.73

PING 172.30.83.73 (172.30.83.73) 56(84) bytes of data.

64 bytes from 172.30.83.73: icmp_seq=1 ttl=58 time=17.9 ms

64 bytes from 172.30.83.73: icmp_seq=2 ttl=58 time=15.1 ms
David avatar
cn flag
What version of Ubuntu? What error messages? What command is used? Details please.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.