Fix not connecting to a given port
Fix #1