add server name and port to config