retrieving port from env is a string