The ones you mentioned are more likely, but it's also possible that the server does not accept connections from port 6667. However, if you're connecting to one of the bigger networks, such as quakenet/dalnet/undernet/efnet/gamesnet etc etc this is extremely unlikely. 6667 is a widely used port for server connections and 99% of public servers will support it.