Solved

425 Failed to establish connection

Posted on 2014-12-08
13
238 Views
Last Modified: 2015-01-14
I get this error:
"425 Failed to establish connection"
when I try to go:
ftp://mydomain.com/pub

Using winscp with  root user is ok.
0
Comment
Question by:Nusrat Nuriyev
  • 5
  • 4
  • 4
13 Comments
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Is the host mydomain.com running a real FTP server?

Although winscp support ftp, typically it is used for scp or sftp, which both use ssh under the covers.
0
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 500 total points
Comment Utility
>> try to go
How are you going to that site? Using which application? A web browser?

Looks like a firewall issue where ports 21 and 20 are not open on the FTP server.
0
 

Author Comment

by:Nusrat Nuriyev
Comment Utility
Is the host mydomain.com running a real FTP server?
YES

How are you going to that site? Using which application? A web browser?

Web browser

Looks like a firewall issue where ports 21 and 20 are not open on the FTP server.
Nope, they are opened: 20/TCP 21/TCP 20/UDP 21/UDP.

Fedora - firewall-cmd
0
 
LVL 37

Assisted Solution

by:Gerwin Jansen
Gerwin Jansen earned 500 total points
Comment Utility
425 occurs when the server cannot open a socket for data transfer, try ftp from command line, do you get a prompt from your FTP server? If not, try disabling (for test) the local firewall and the firewall on Fedora.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
FTP does not use UDP, so you can close ports 20/21 UPD.

If you are running the server can you post the output from the command:

netstat -an | grep tcp | grep LISTEN
0
 

Author Comment

by:Nusrat Nuriyev
Comment Utility
425 occurs when the server cannot open a socket for data transfer, try ftp from command line, do you get a prompt from your FTP server?

ftp.exe
open mydomain.com
responds something like
mydomain.com unknown host
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:Nusrat Nuriyev
Comment Utility
netstat -an | grep tcp | grep LISTEN


tcp        0      0 0.0.0.0:5910            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6010            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:40770           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:5903            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6001            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6003            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
tcp        0      0 8.2.9.9:53       0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:9333            0.0.0.0:*               LISTEN
tcp6       0      0 ::1:953                 :::*                    LISTEN
tcp6       0      0 :::6010                 :::*                    LISTEN
tcp6       0      0 :::443                  :::*                    LISTEN
tcp6       0      0 :::6881                 :::*                    LISTEN
tcp6       0      0 :::111                  :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::6001                 :::*                    LISTEN
tcp6       0      0 :::6003                 :::*                    LISTEN
tcp6       0      0 ::1:53                  :::*                    LISTEN
tcp6       0      0 :::39125                :::*                    LISTEN
tcp6       0      0 :::9333                 :::*                    LISTEN
0
 
LVL 37

Assisted Solution

by:Gerwin Jansen
Gerwin Jansen earned 500 total points
Comment Utility
>> mydomain.com unknown host
Try the IP address of your FTP server instead of the hostname (mydomain.com)

>> tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
Your FTP server is running, this is OK

Did you try disabling firewalls on both ends like I suggested?
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
You may want to do a packet capture on the Linux server and the Windows client at the same time.  This will allow you to see what is going on.

You can use Wireshark on both platforms to do the packet capture.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
You do have a DNS record for mydomain.com?

Since you got back unknown host that implies there is no dns record for mydomain.com.
0
 

Author Comment

by:Nusrat Nuriyev
Comment Utility
giltjr, Reverse lookup?
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
No forward.  What happens when you enter:

nslookup mydomain.com

Where mydomain.com is whatever name you really enter.
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
Comment Utility
Did you already try the IP address instead of the server name as I suggested above? What were the results?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now