Parsing port from environment