server: set port to config