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 !).
What the f*** is going on ?
Any suggestions ?
Thanks !!!













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!
Login or register to post comments 1 point
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?
Login or register to post comments -1 points
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 !!!
Login or register to post comments 1 point
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)
Login or register to post comments -1 points
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.
Login or register to post comments -1 points
So did that last reply help?
Disclaimer: My posts may change (dramatically) within the first 15 minutes they're posted.
Login or register to post comments 1 point
Sorry for the delay !

I haven't tried it yet...
But I will do it first thing in the morning !
Login or register to post comments 1 point
So did that last reply help?
No good
Network Error: Connection timed out
If I try a few times, I get a...
Network Error: Network is unreachable
What the f*** ?
Login or register to post comments 1 point
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.
Login or register to post comments -1 points
1. Can you ping home from work?
I haven't thought of that so... I haven't tried that yet !

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 ???
Login or register to post comments 1 point
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!
Login or register to post comments -1 points
1. Can you ping home from work?
No! I can't ping home from work !!!
Login or register to post comments -1 points
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.
Login or register to post comments 1 point