• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

FTP cannot be access from other LANs

Hi.. I have set up an FTP server in a Windows server 2k3 machine in my company. this server is behind a cisco pix firewall and we use adsl router for the internet connection. everything had been set up properly from the FTP site itself to the configuration of the pix firewall to redirect any FTP request to that win server 2k3 machine.

the FTP works ok internally in our LAN (we just type ftp://win2k3server-hostname). but for public access, it works ok only if we use dial-up as the internet connection, or if we use broadband from home (we use router, but the FTP connection can still be done). The problem comes when we try to access the FTP site from another LAN. My colleague tried to access it during one of his stays at some hotel.  He used the hotel's broadband connection but can't get in the FTP site. we also tried to use wireless internet connection in one of the airports, but can't get into the FTP site as well.

what is the cause of this and how to rectify it?

thanks in advance!!

-blue
0
bluefile
Asked:
bluefile
  • 6
  • 5
1 Solution
 
adamdrayerCommented:
IS your server using passive or active FTP?  If passive, it's possible that the firewalls governing the ftp client networks have ports blocked.  Try changing the ftp server to active mode and see if that helps.
0
 
bluefileAuthor Commented:
how do i check whether it is passive or active?
thanks!
0
 
adamdrayerCommented:
actually it is usually the client that determines whether the session is active or passive... sorry.  Don't know where my head is this morning:

You can read this:
http://slacksite.com/other/ftp.html

Excerpt:
The main problem with active mode FTP actually falls on the client side. The FTP client doesn't make the actual connection to the data port of the server--it simply tells the server what port it is listening on and the server connects back to the specified port on the client. From the client side firewall this appears to be an outside system initiating a connection to an internal client--something that is usually blocked.


If you are using IE, instruct your client to use passive mode by selecting Tools - Internet Options - Advanced
and then check "use passive ftp"

if this works then it is the firewalls on the client side.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
bluefileAuthor Commented:
so you mean there's nothing to do with the server side? the connection failure is due to the client-side's firewall??
0
 
adamdrayerCommented:
It would seem that way.  Your ability to access it from multiple internet locations is a very good indication that you are setup correctly.  what error messages are you getting when you try to connect from the LAN?  can he check the firewall logs for that LAN?
0
 
bluefileAuthor Commented:
hmm.. usually there's no error message.. what my colleagues told me was usually when they try to connect using IE, they will just get the folder and flash light icon at the middle of the page (as if it is searching for something), then usually the error message is something like 'cannot find the folder... bla bla..' i'm not sure about the exact words.

the problem is all the while the LAN that they use when the connection failed is a public LAN like those in airports (wireless LAN) or those broadband connection they have in hotel rooms.
0
 
adamdrayerCommented:
try using the ftp command line tool.

"ftp ftp.whatever.com"

this should give you a better indication of the error.
0
 
bluefileAuthor Commented:
hi..
sorry for the delay.. my colleague has not replied to me. so give me 1-2 days and i'll get back to you again. thanks!
0
 
bluefileAuthor Commented:
hi..
i'm very sorry.. we can't seem to get the problem now.. it's now ok..so i guess no problem for the time being.

however, can you let me know some other ways to track/investigate what's happenning ? just in case the problem happens again. i mean for debugging, what else can i do besides those you have told me?

thanks!
0
 
adamdrayerCommented:
well the command line tool mentioned above I find alot easier to use in troubleshooting.  All the errors it gives you are searchable online to determine what the problem is.
0
 
bluefileAuthor Commented:
hm.. alright then.. not to delay any further..
thanks for your replies!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now