port is now correctly set