Update server.py

Reading the port from the scheduler client configuration.