Hi all, I have a problem that:
I'm writing a simple socket connection program through network ( client program is on raspberry and connect to server program on my ubuntu laptop ).
It's all ok when I plug both laptop and rpi to a Router. But when i plug them to a Switch ( without internet access ), my client program cannot connect to server program ( although i can ping and ssh from laptop to raspberry normally ), the error when running connect() function of client program is "Connection timed out". I think the problem is around the Switch. But I don't know what it is.. my rpi running Raspbian, i already set static ip for my raspberry and my laptop
Can anyone help me? Thanks so much for reading.