set port in config