created code for servercd
updated server with ip and port configuration