Update server.py

Put ip_addr and port settings to the head