Ports are now restricted to connect only where it makes sense; bug fixes