Get port from env

Change-Id: I43875487f31e59267e3d21ba826261816371a485