FYI in this situation the connect() succeeds, but the connection is closed almost immediately (when the far end gets connection refused).
FYI in this situation the connect() succeeds, but the connection is closed almost immediately (when the far end gets connection refused).