-
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

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY
$10.00

Crucial 32GB(4 x 8GB) CT8G4DFS824A.C8FDD1 DDR4-2400 UDIMM Desktop RAM - CR352A
$89.95

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

Samsung 32GB DDR4-2666 PC4-21300 288-Pin DIMM RAM M393A4K40CB1CRC0Q
$185.00

Micron 16GB (2x8GB) 2Rx8 DDR3 1600MHz PC3-12800U Desktop RAM
$19.99

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$66.00

Corsair CMK16GX4M2Z3200C16 DDR4 16GB (2x8GB) 3200MHZ
$78.99

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$85.00