Topic "Network error: Connection refused"

Author Message
jcbpro
[View user's profile]

Joined: 2004-12-13
Posts: 4
Hello,

We're using WinSCP3 with a SSH Server and today it has an error saying while login : "Network error: Connection refused". Shocked

I really don't know what's happened because nothing was change in our configuration, firewall...

Can you tell me what could be the origin of the problem or what must I test to see where is the problem Question

Thank you Very Happy
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Just try to open connection to the same host/port with any other TCP/IP client (it does not have to be SSH client), just to check if it is WinSCP problem or connection problem.

For example you may try telnet client shipped with the Windows:
Code:
telnet <your SSH server> 22


If it says "connection refused" too, then it is not WinSCP problem and you should check your connection.
_________________
Martin Prikryl
jcbpro
[View user's profile]

Joined: 2004-12-13
Posts: 4
I tested with telnet but the same happend : "Impossible d'ouvir une connexion l'hte, chec lors de la connexion", simply means that cannot connect to the server...

The strange thing is that nothing had been changed in our network configuration, so in this time I really dont know where is the problem. I tried to use on the server the command 'telnet localhost 22' and the server responds, so this is not a port problem and I can reach the server because I can ping it...

Can you suggest me a problem idea ? Wink
jcbpro
[View user's profile]

Joined: 2004-12-13
Posts: 4
I made other tests...

- I can use 'telnet localhost 22' on local on the server
- I can use 'telnet <ipserveraddress> 22' when I'm in the network of my company
- I cannot use 'telnet <ipfirewalladdress> 22' when I'm outside the company -> Connection refused
- I checked in the firewall settings, but nothing changed : I allow connection to the port 22 and make a forward to the ip address of the server.

I suppose that the problem come from the firewall that not allow access to the server. But the settings have not changed and seems always good...

What other tests can I do to know where comes from the problem ??? Confused
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
I'm sorry, this problem is beyond my knowledge Sad
_________________
Martin Prikryl
Guest




Is it just the firewall that's blocking you, or could it be something else that's impersonating your firewall? It could be a virus or something.
jcbpro
[View user's profile]

Joined: 2004-12-13
Posts: 4
Its OK, I found where was the problem. Like you will see, some people like jokes or are definitely not professionnal...

Our ISP sent a technician to make update to our routeur but after that he didn't say that he placed a new model and that he let the default settings, with some ports not opened. Rolling Eyes

So nothing was wrong with WinSCP or out network configuration, I was really sure of that. All the fault comes from our stupid ISP Mr. Green lol
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License