Client on Linux cannot connect to server on Windows 7

I am following the guide on setting up a server/client from Beej’s Guide to Network Programming, and I am currently on chapter 6. There is an example server and client there.

When I run the server on my Linux machine, I can connect from the same Linux machine and from a Windows 7 machine on the same network.

However, when I run the server on my Windows machine, I can only connect to the server from the same Windows machine. The Linux machine cannot connect.

Any suggestions what I’m doing wrong?

Source: linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.