Old 06-01-2004, 12:09 PM   #1
YaP
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default Limit local port range

I'm using RC3, i limit local port range to 8000 - 8020. If another program is using 8000 as source port, flashfxp doesn't recognize it is in use and sends PORT command with first port in range (8000) to the server. So the server can't connect to the client because the port is in use by another program.

Regards

YaP
YaP is offline  
Old 06-01-2004, 12:21 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Prior to sending the PORT command FlashFXP tests the port to see if it's available, if the port is available FlashFXP continues on with the PORT command.
bigstar is offline  
Old 06-01-2004, 12:25 PM   #3
YaP
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default

That's the way it should be but it doesn't seem to work...
YaP is offline  
Old 06-01-2004, 02:35 PM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

This method does work, however the method of detection may not be 100% foolproof. It depends entirely on whether or not winsock allows the socket to listen on selected port.

It's best to use a port range that doesn't overlap with another applications.
bigstar is offline  
 

Tags
8000, flashfxp, port, program, range

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem! Please help! Rizzo General Discussion 4 01-02-2005 05:15 PM


All times are GMT -5. The time now is 06:11 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)