added a function to change server port.