IPAddress ip(192,168,1, 27); // same with my Notebook LAN IP address
IPAddress ip(192,168,1, 42); // same with my Netbook LAN IP address
Are you saying those are the IP addresses of your notebook and netbook?
They should be the IP address you are giving your Arduino, and must be different (in the last number) to any other device on your network.