Invalid PORT Command

FTP, SFTP, FTPS, and SSH/telnet console issues

Invalid PORT Command

Postby zuber » Sat Feb 12, 2005 8:05 am

I have my server ftp port set to 343. UltraEdit gives me error code 500 Invalid PORT Command.

Is there any way round this? Why won't UE recognise port 343?
User avatar
zuber
Newbie
 
Posts: 3
Joined: Sat Feb 12, 2005 12:00 am

Re: Invalid PORT Command

Postby MrBillG » Sat Feb 12, 2005 11:25 am

Hi Zuber

I hope this is this easy!

On the FTP Accounts page, lower right corner you can type in a port # to use.

"FTP/Proxy Port:" default is Port 21
Type over the number 21.

Hope that Helpls
User avatar
MrBillG
Advanced User
Advanced User
 
Posts: 65
Joined: Sat Aug 07, 2004 11:00 pm

Re: Invalid PORT Command

Postby zuber » Sat Feb 12, 2005 3:50 pm

Thanks for your reply. Sorry I didn't make myself clear, yes, I have set the port select to 343.
User avatar
zuber
Newbie
 
Posts: 3
Joined: Sat Feb 12, 2005 12:00 am

Re: Invalid PORT Command

Postby MrBillG » Sat Feb 12, 2005 8:56 pm

Hi Zuber

I knew it couldn't be that easy!

If no one answers this, I'd fire off a email to support@idmcomp.com

They are very good at getting back to you very quickly!

Sorry I'm not smart enough to answer your question.
User avatar
MrBillG
Advanced User
Advanced User
 
Posts: 65
Joined: Sat Aug 07, 2004 11:00 pm

Re: Invalid PORT Command

Postby zuber » Wed Feb 16, 2005 7:46 am

This is the server conversation that I get - if it's any help!

250 CWD command successful.
PWD
257 "/" is current directory.
CWD /
250 CWD command successful.
PWD
257 "/" is current directory.
PWD
257 "/" is current directory.
PORT 10,0,0,3,81,222
500 Invalid PORT Command.
User avatar
zuber
Newbie
 
Posts: 3
Joined: Sat Feb 12, 2005 12:00 am

Re: Invalid PORT Command

Postby CDarklock » Fri Nov 25, 2005 2:55 pm

The "Invalid PORT" error has nothing to do with the port where your service is running. It's all about the FTP/SFTP command "PORT" which shows up in your logs:

zuber wrote:PORT 10,0,0,3,81,222
500 Invalid PORT Command.


This is an attempt to open a data connection from the server to IP address 10.0.0.3 on port 20958 (or (81 * 65536) + 222), which is not working.

You may just need to use passive FTP. Try going to the "Accounts" dialog, then click the "Advanced" button and check the box marked "Passive Transfers (for firewalls)" immediately above the combo box for "Server Type".
User avatar
CDarklock
Newbie
 
Posts: 1
Joined: Fri Nov 25, 2005 12:00 am


Return to FTP/SFTP / SSH/Telnet