Post by MC
I wrote a simple file server mainly to be able to send software updates to my
Evrything works fine. I am using TCP and the server is using port 12500.
The problem is that many customers have ports closed and simply refuse to open
12500. One answer is to tell my customers to go to router setting and open port
12500 which is not a very good idea. Router setting are confusing and even I have
diffuculties opening ports on some routers I've tested.
How should I tackle this problem? I tried ports 80 and 21 and it failed. How does
my FTP program get around this?
Why does 80 not work for you? Web servers do a good job of sending
files (we do it all the time) and various tools (what
language/platform are you using?) make such a trick easy. My code, in
VB6, is perhaps 25 lines (much is error handling) and straigth
forward. It fetches a file, then runs it optionally. (in my program I
have created a standalone command line (console app) program.
You definately want to avoid using your own port for whatever reason,
most users will *not* open a port for your application.