Solved

425 Failed to establish connection

Posted on 2014-12-08
13
327 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
ID: 40488741
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
ID: 40490069
>> 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
ID: 40490120
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
ID: 40490631
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
ID: 40491214
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
ID: 40492281
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Nusrat Nuriyev
ID: 40492318
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
ID: 40492364
>> 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
ID: 40492767
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
ID: 40492769
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
ID: 40513095
giltjr, Reverse lookup?
0
 
LVL 57

Expert Comment

by:giltjr
ID: 40513115
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
ID: 40513912
Did you already try the IP address instead of the server name as I suggested above? What were the results?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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…

932 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

10 Experts available now in Live!

Get 1:1 Help Now