Fixed auto port detection