Score:0

Connect from Mac OS to Windows - cannot connect

cn flag

I have Mac and if I do

 nc -vz 192.168.1.13 777

I got

nc: connectx to 192.168.1.13 port 777 (tcp) failed: Operation timed out

192.168.1.13 is a Windows machine in the local network. I have enabled port 777 on Windows Firewall (I am using the built-in one). I have also tried other ports, but with the same result.

If I disable firewall altogether, I got:

nc: connectx to 192.168.1.13 port 777 (tcp) failed: Connection refused

However, in both cases, I can't get through with "succeeded". What am I missing?

vidarlo avatar
ar flag
Is anything listening on port 777?
Martin Perry avatar
cn flag
I have also tried different ports with the same outcome.
vidarlo avatar
ar flag
Is anything listening on the ports you're testing? If nothing's listening, then of course you will get a connection refused!
Martin Perry avatar
cn flag
Oh... my mistake. I was thinking that i will just check port before running the app. Thanks. It solved the "problem".. Post it as answer, 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.