Update For using sockets and working over Network, not only by using localhost