update server port to be var