get correct port for server when bringing core online