Use readMay to read port from environment variable instead of using exceptions