cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
316
Views
0
Helpful
1
Replies

FTP Passive - non-default port - CISCO ISR 4321

radek.w.1996
Level 1
Level 1

Hi,

 

I have two FTP servers that are used for Azure Pipelines. First is working on default port number 21 and it's working fine without any issues. I don't even have to forward port range for data conection (I had to do it on old CISCO 2901 router to make it work on both default and non-default ports) like

ip nat pool VILEO 192.168.0.223 192.168.0.223 netmask 255.255.254.0 type rotary
ip nat inside destination list 102 pool VILEO

access-list 102 permit tcp any any range 30000 65535

The only thing I had to do was just to forward port 21. But with second FTP on non-default port 23223 I'm getting an error
##[error]Can't open data connection in passive mode: connect ECONNREFUSED 91.222.69.28:58780

I tried to do same thing as on old router, but with no success. 

1 Reply 1

radek.w.1996
Level 1
Level 1
Review Cisco Networking products for a $25 gift card