Updated server and client to use IP address