Nothing to do with port. If ports are not open, you wont be able to connect and dc after 4 seconds. It will be counting.
Check your hgserver event list and see why are you DC-ing. Most likely its from a NetMessage error saying Unknown Message Received.
Check it out 1st.
LifeX
Helbreath Crusade << Click