Libervis Network - For a Free WorldLibervis Projects | Nuxified Projects
Welcome guest. Register | Login | Show what's new

Putty... Network error : Connection refused

Putty... Network error : Connection refused

Here is my problem...

I am using Putty (v.0.53 now) for a long time and didn't had any problem until lately, when I tried to access my server from work !
The only thing I did, was to make the same settings as I was home.
Except this...

Home IP : 192.168..... bla bla
Work IP : 212.23..... bla bla

Of course I have forward ports from the router to the server .
Port : 22 (I have also tried ports : 5900 , 22122)

So, when I am inside my network at home everything works fine !
When I am at work I get this error...

Network error : Connection refused

I did some search and I found this...

This error means that the network connection PuTTY tried to make to your server was rejected by the server. Usually this happens because the server does not provide the service which PuTTY is trying to access.
Check that you are connecting with the correct protocol (SSH, Telnet or Rlogin), and check that the port number is correct. If that fails, consult the administrator of your server.

The last part was the most funny of all (... I am the administrator of the server !).

Frown

What the f*** is going on ?

Yell

Any suggestions ?

Thanks !!!

__________________


You don't have anything like

You don't have anything like a router blocking the port to the outside world? or the port not being forwarded to the server?

dylunio

__________________

Yn falch o ddefnyddio Linux a FLOSS!

Eh, you're not trying to

Eh, you're not trying to connect to 192.168.x.y, are you? At work a different computer would have that IP, since 192.168 means local network.

__________________

CAN I HAS FIXD CAPSLOK KEE PLZ?

Sorry ! What I ment with...

Sorry !
What I ment with...
Home IP was what you called internal, private address !
I am not trying to connect to this IP address.
I am trying to connect to this IP address...

212.23..... bla bla

from my work !!!

__________________

Forward ports...

dylunio wrote:

You don't have anything like a router blocking the port to the outside world? or the port not being forwarded to the server? dylunio

Of course I have forward ports from the router to the server .
Port : 22 (I have also tried ports : 5900 , 22122)

__________________

sshd /etc/hosts.allow

Is your work IP address in /etc/hosts.allow (on your server) for sshd?

__________________

Disclaimer: My posts may change (dramatically) within the first 15 minutes they're posted.

Did it work?

So did that last reply help?

__________________

Disclaimer: My posts may change (dramatically) within the first 15 minutes they're posted.

Sorry for the delay ! I

Sorry for the delay !
I haven't tried it yet...
Sad
But I will do it first thing in the morning !

__________________

Network Error: Connection timed out
a thing wrote:

So did that last reply help?

No good Sad
Network Error: Connection timed out

If I try a few times, I get a...
Network Error: Network is unreachable
What the f*** ?

__________________

guesses

1. Can you ping home from work?
2. Ionno if this is even possible, but is iptables somehow only allowing connections on port 22 from 192.168.*.*?

__________________

Disclaimer: My posts may change (dramatically) within the first 15 minutes they're posted.

ping & iptables
a thing wrote:

1. Can you ping home from work?

I haven't thought of that so... I haven't tried that yet !
Sad

a thing wrote:

2. Ionno if this is even possible, but is iptables somehow only allowing connections on port 22 from 192.168.*.*?

iptables is allowing connections on port 22, but the question is, does SSH connections must be only on port 22 ???

__________________

/etc/ssh/sshd_config
kanenas.net wrote:

but the question is, does SSH connections must be only on port 22 ???

The port which ssh uses is set in /etc/ssh/sshd_config the default is port 22.

dylunio

__________________

Yn falch o ddefnyddio Linux a FLOSS!

ping home from work
a thing wrote:

1. Can you ping home from work?

No! I can't ping home from work !!!

__________________

workplace's firewall

Perhaps your workplace's firewall is blocking outgoing connections to your home.

__________________

Disclaimer: My posts may change (dramatically) within the first 15 minutes they're posted.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

We have 2344 members who wrote 2044 articles and 11847 comments. Welcome to our newest member, hutopire!

Who's online

There are currently 0 users and 6 guests online.
Nuxified RSS feed