I have had a lot of people asking for the code to my port tester located on flashcomguru.com.. well I have decided to post it here. It's a zip that contains a fla and I plan to port it to AS3 and an external AS2 file as well.. This is just an old pet project and so I haven't updated it for a bit.
I finally took the time to port it to as3. I have a written a simple flex piece that uses the class to perform port tests. The download includes a class for the port tester and an mxml file for the UI.
Try it here pointed at your own server:
No Flash Detected