🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1771

Indy9 - BCB5 - FTP server - port / data port problem

#1771
From: Hanne B
Date: Thu, 09 Nov 2006 12:22
21 lines
1776 bytes
Is Indy9 FTP server not capable of using another port than 21 ?

I have a FTP server on a local PC where I would like to use another port 
than the default port 21 eg. 2521 and data port 2520 (so that I can have two 
FTP servers running on the same PC).
We have port forwarding so that users connecting from outside world will go 
to the port of the local PC.

When a client connects everything is ok until the dataport is going to be 
used when the client wants to retrieve a files.
The communication stops after the OnPASV event.

If I use port 21 and still data port 2520 communication is ok.

Could it have something to do with Firewall setup ? Any idea to solve the 
problem ?

If I run a FTP client application on the local PC it can connect properly to 
port 2521 / data port 2520 and retrive files.

Hanne 
Technical Details
Message-ID: <45531d9b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fb84c326d542fc4d,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Hanne B" <hb@aeromark.dk>
From: "Hanne B" <hb@aeromark.dk>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Indy9 - BCB5 - FTP server - port / data port problem
Date: Thu, 9 Nov 2006 13:22:50 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
NNTP-Posting-Host: 83.91.195.110
Message-ID: <45531d9b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1163074971 83.91.195.110 (9 Nov 2006 04:22:51 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail