remote client to Crossftp Server dont work!

Need help with the Free CrossFTP server? In this forum you may find the answer.

Moderator: manage

remote client to Crossftp Server dont work!

Postby amazen720 » Tue Apr 01, 2008 3:15 am

everything works from inside the network, but no one can connect from out side the network. I followed all the post that have been written, the damn thing just dont work! I switched from vsftpd because I thought crossftp server would be easier to configure. I open the necessary ports (also passv) on the router, and I tried passive mode and active from the remote side and all I get is this from the server:

[INFO ]Open connection - IP[http://http://xxx.bbspam.com.bbspam.com.http://http://xxx.bbspam.com.bbspam.com.xx.http://http://xxx.bbspam.com.bbspam.com]
[INFO ]Login success - 'username'
[WARN ]FtpDataConnection.getDataSocket()
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.ftpserver.FtpDataConnection.getDataSocket(FtpDataConnection.java:210)
at org.apache.ftpserver.FtpRequestImpl.getDataOutputStream(FtpRequestImpl.java:334)
at org.apache.ftpserver.command.MLSD.execute(MLSD.java:63)
at org.apache.ftpserver.RequestHandler.service(RequestHandler.java:286)
at org.apache.ftpserver.RequestHandler.run(RequestHandler.java:249)
at java.lang.Thread.run(Thread.java:619)
[WARN ]FtpDataConnection.getDataSocket()
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:209)
at org.apache.ftpserver.FtpDataConnection.getDataSocket(FtpDataConnection.java:201)
at org.apache.ftpserver.FtpRequestImpl.getDataOutputStream(FtpRequestImpl.java:334)
at org.apache.ftpserver.command.MLSD.execute(MLSD.java:63)
at org.apache.ftpserver.RequestHandler.service(RequestHandler.java:286)
at org.apache.ftpserver.RequestHandler.run(RequestHandler.java:249)
at java.lang.Thread.run(Thread.java:619)
[INFO ]Close connection : IP[http://http://xxx.bbspam.com.bbspam.com.http://http://xxx.bbspam.com.bbspam.com.xx.http://http://xxx.bbspam.com.bbspam.com] - IP[http://http://xxx.bbspam.com.bbspam.com.http://http://xxx.bbspam.com.bbspam.com.xx.http://http://xxx.bbspam.com.bbspam.com]

and from the remote client side I get:

Detected Server Software: WS_FTP Server [18:25:32] SITE UTF8 [18:25:32] 502 Command SITE not implemented for UTF8. [18:25:32] PWD [18:25:32] 257 "/" is current directory. [18:25:33] TYPE A [18:25:33] 200 Command TYPE okay. [18:25:33] MODE Z [18:25:33] 200 Command MODE okay. [18:25:33] PASV [18:25:33] 227 Entering Passive Mode (127,0,0,1,234,96) [18:25:33] Opening data connection to [localIP]Port: 60000 [18:25:33] MLSD [18:25:33] 150 File status okay; about to open data connection. [18:25:34] No connection could be made because the target machine actively refused it. [18:25:43] 425 Can't open data connection. [18:25:43] Automatic failover of data connection mode from "Passive Mode (PASV)" to "Active Mode (PORT)". [18:25:43] PORT 192,168,1,103,10,248 [18:25:43] 200 Command

what am I doing wrong? I'll be online all night IM me
amazen720
 
Posts: 1
Joined: Mon Mar 31, 2008 11:33 pm

Postby alex » Tue Apr 01, 2008 9:03 pm

Possible cause of this problem: the router blocks the connection between the server and the client in the PASV mode, since the client try to connect directly to the server's IP as described in PASV command, while the client should try to connect to the router's IP.

One solution: Tell the client to replace the PASV's IP address with the client viewed server's IP. Take CrossFTP client as an example, choose Sites -> Site Manager -> Options -> Substitute PASV IP with Server IP.
Another better way is to configure the server's PASV IP address as the router's IP, however this is not available in current CrossFTP Server. We will put this in the todo list.

Hope this will solve your problem.
alex
 
Posts: 362
Joined: Tue Aug 07, 2007 1:38 pm

Re: remote client to Crossftp Server dont work!

Postby m00nb34m » Thu Aug 07, 2008 5:27 pm

I have this same issue. I can't see where it tells me which version I have, but it is the latest as of August 7, 2008. I am running this on OSX 10.5.4.

I can connect on the local network. I can even connect to the external IP when I am local. As soon as I get outside of my local network, it doesn't work. I am using Yummy FTP and don't see a way to change the settings as defined.
m00nb34m
 
Posts: 1
Joined: Thu Aug 07, 2008 5:22 pm

Re: remote client to Crossftp Server dont work!

Postby alex » Tue Aug 12, 2008 3:39 pm

If there is a router sitting between your client and server, please define a port forwarding in your router's setting. After you define this forwarding, you should be able to visit the server from external.
Here is a flash guideline for your reference: http://www.tinkernut.com/archives/130
More detailed information is available at http://www.crossftp.com/kb/entry/32/
CrossFTP Software
http://www.crossftp.com/
alex
 
Posts: 362
Joined: Tue Aug 07, 2007 1:38 pm


Return to Server - Public Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron