Score:0

Local Windows machine cannot connect to another except port 80

in flag

Trying to test a dev web service endpoint.

Firewalls and Windows Defender are off on both.

From different machine

Test-NetConnection -Port 80 -ComputerName 192.168.1.5 -InformationLevel Detailed
TcpTestSucceeded        : True

Test-NetConnection -Port 5178 -ComputerName 192.168.1.5 -InformationLevel Detailed
TcpTestSucceeded        : False

When I test on same machine

Test-NetConnection -Port 80 -ComputerName 192.168.1.5 -InformationLevel Detailed
TcpTestSucceeded        : True

Test-NetConnection -Port 5178 -ComputerName 192.168.1.5 -InformationLevel Detailed
TcpTestSucceeded        : False

Test-NetConnection -Port 5178 -ComputerName localhost -InformationLevel Detailed
TcpTestSucceeded        : True
HBruijn avatar
in flag
Does this answer your question? [What causes the 'Connection Refused' message?](https://serverfault.com/questions/725262/what-causes-the-connection-refused-message)
Chris Harrington avatar
in flag
No, it does not.
cn flag
This is a SuperUser question. Are you aware that localhost does not use the network stack? You will also be required to provide more information on the firewall disablement other than "off", given how often that is done incorrectly and off isn't meaningful except to make it more murky and non-standard. Also be prepared to provide a netmon capture from both endpoints and have them correlated.
joeqwerty avatar
cv flag
It would appear that your process/service is not bound to, and is not listening on, 192.168.1.5.
Chris Harrington avatar
in flag
Thank you joeqwerty. That was indeed the issue. Seems so obvious after the fact.
joeqwerty avatar
cv flag
Glad to help...
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.