-
Junior Member
registered user
ssh /portforwarding problem
Code:
ssh -i /home/knoppix/homeserver -l root -L 5995:192.168.0.8:5901 www.server.com
gets me an ssh connections to my server
but
Code:
knoppix@0[~]$ vncviewer localhost:5995
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server
knoppix@0[~]$
Code:
root@0[knoppix]# netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:68 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp6 0 0 ::1:5995 :::* LISTEN
Active UNIX domain sockets (only servers)
Im testing this from inside my LAN , so the SSH is going out and then coming back in.
I can connect directly to the VNC server with
Code:
vncviewer 192.168.0.8:1
and a connection from outside with a windows client & putty (L 5900 remote 192.68.0.8:5901) works
whats wrong with the port forwarding?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)
$299.95