Get port from environment variable