Skip to main content
removed a bunch of extra wording; it's assumed that you're here looking for (more) help
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, everyEvery time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 22:Connection refused".

ssh: connect to host 192.168.80.131 port 22:Connection refused

I check to see if I have my router set up for port forwarding and I guess iI do (see pic). [![enter image description here][1]][1] I check:

enter image description here

I checked if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN

I also checkchecked to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

To                         Action      From

20                         ALLOW       Anywhere                  
22                         ALLOW       Anywhere                  
80                         ALLOW       Anywhere                  
23                         ALLOW       Anywhere                  
8080                       ALLOW       Anywhere                  
20 (v6)                    ALLOW       Anywhere (v6)             
22 (v6)                    ALLOW       Anywhere (v6)             
80 (v6)                    ALLOW       Anywhere (v6)             
23 (v6)                    ALLOW       Anywhere (v6)             
8080 (v6)                  ALLOW       Anywhere (v6)

Also I would like to mention that the client from where I am connecting to the server is connected to the router via LAN and the server is connected to the router via Wi-FI, Im not sure if this helps...

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, every time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 22:Connection refused".

I check to see if I have my router set up for port forwarding and I guess i do (see pic). [![enter image description here][1]][1] I check if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also check to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

Also I would like to mention that the client from where I am connecting to the server is connected to the router via LAN and the server is connected to the router via Wi-FI, Im not sure if this helps...

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png

Every time I try to connect via SSH using "ssh user@ip" I get this error:

ssh: connect to host 192.168.80.131 port 22:Connection refused

I check to see if I have my router set up for port forwarding and I guess I do:

enter image description here

I checked if I have my server set up for port forwarding:

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN

I also checked to see if my firewall is configured:

To                         Action      From

20                         ALLOW       Anywhere                  
22                         ALLOW       Anywhere                  
80                         ALLOW       Anywhere                  
23                         ALLOW       Anywhere                  
8080                       ALLOW       Anywhere                  
20 (v6)                    ALLOW       Anywhere (v6)             
22 (v6)                    ALLOW       Anywhere (v6)             
80 (v6)                    ALLOW       Anywhere (v6)             
23 (v6)                    ALLOW       Anywhere (v6)             
8080 (v6)                  ALLOW       Anywhere (v6)

Also I would like to mention that the client from where I am connecting to the server is connected to the router via LAN and the server is connected to the router via Wi-FI.

added 204 characters in body
Source Link
Di Nu
  • 21
  • 1
  • 1
  • 3

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, every time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 222222:Connection refused".

I check to see if I have my router set up for port forwarding and I guess i do (see pic). [![enter image description here][1]][1] I check if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also check to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

I also have ssh, openssh-client, openssh-server installed on my server.

Also I would like to mention that the client from where I am connecting to the server is connected to the router via LAN and the server is connected to the router via Wi-FI, Im not sure if this helps...

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, every time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 2222:Connection refused".

I check to see if I have my router set up for port forwarding and I guess i do (see pic). [![enter image description here][1]][1] I check if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also check to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

I also have ssh, openssh-client, openssh-server installed on my server.

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, every time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 22:Connection refused".

I check to see if I have my router set up for port forwarding and I guess i do (see pic). [![enter image description here][1]][1] I check if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also check to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

I also have ssh, openssh-client, openssh-server installed on my server.

Also I would like to mention that the client from where I am connecting to the server is connected to the router via LAN and the server is connected to the router via Wi-FI, Im not sure if this helps...

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png

Source Link
Di Nu
  • 21
  • 1
  • 1
  • 3

SSH problems, I keep getting connection refused

Could someone please help me, I am bangging my head over a problem that I jsut dont understand and I am a bit new to Linux.

I dont understand what is wrong with my SSH, I tried every possible solution but I just dont understand, every time I try to connect via SSH using "ssh user@ip" I get this error "ssh: connect to host 192.168.80.131 port 2222:Connection refused".

I check to see if I have my router set up for port forwarding and I guess i do (see pic). [![enter image description here][1]][1] I check if I have my server is set up for port forwarding:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also check to see if my firewall is configured:

To Action From

20 ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
23 ALLOW Anywhere
8080 ALLOW Anywhere
20 (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
23 (v6) ALLOW Anywhere (v6)
8080 (v6) ALLOW Anywhere (v6)

I also have ssh, openssh-client, openssh-server installed on my server.

Please help, I dont know what else to do :( [1]: https://i.sstatic.net/G1Pas.png