I have a computer that is connected to internet via Dynamic IP. So, I am not able to get connected via TCP/IP to my TCP/IP server program, which I've written C#, it works well by static IP though. I've decided to use IP forwarding DNS services on DuckDNS.Org and http://freedns.afraid.org/ to be able to ping my machine via a web address like: test.mooo.com.
Now it's okay I am able to ping my computer via this web subdomain but my question is:
How can I modify my client program that originally only deals with IP to connect to my computer which runs a server at a specific port to use the web address to get connected to my computer?
I've tried:
client = new TcpClient("test.mooo.com", (int)Activity1.settingObj.port);
But it does not work. Thanks in advance. I'm using C# but I guess this is general TCP/IP question.