I'm currently trying to make a program with Indy components. The idea is that people should be able to connect to a server via the internet with clients using TCP. The problem is that I can't get the whole connect thing to work over the internet.
How ever it works fine if the server and client is run on the same computer or the same intranet so it shouldn't be any problem with ports or something like that. Possibly it's a router problem but I would assume that it would get through something like that.
The error I get is "connection refused" and that would indicate that the client can't find the server even if it can find the IP. I have tried with IdSocksInfo but that only seemed to make things worse. Does anyone know what I'm doing wrong? Or alternatively: Does anyone have a simple example of a program that can communicate over the internet and through various proxies and other annoying things.
I can add more information about the setup if needed.