Putting localhost as server insted fixed ip address