Cor brings up a verry good point
Wich i encounterd a lot in the past with my projects , only then exactly the
oposit as you might expect

My programs only needed a Http connection ( web services , and update
facilities ) , however if a computer is located in a managed lan
i has often a managed gateway ( proxy server , connectbox , fortygate etc
etc ) so a ping beyond the lan, does not work however Http on port 80 or
8080 is no problem at all , so i made all my programs proxy capable and
included a configuration screen for the event that other ports as the usual
are used for http trafic
So the question to you is do you want Http trafic or doe you want to
comunicate on other ports , this will give you a lot more pitfalls to deal
with ( software firewalls , gateway firewalls , paranoid providers etc
etc )
regards
Michel