SHARE
TWEET
Untitled
a guest
Oct 24th, 2017
136
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- on local computer, i run:
- ssh -R 5111:localhost:80 brw314@www.insomnia247.nl
- on remote system, it appears to be listening:
- netstat -an | grep 5111
- tcp 0 0 127.0.0.1:5111 0.0.0.0:* LISTEN
- tcp 0 0 10.0.1.102:10080 162.158.58.115:25111 TIME_WAIT
- tcp6 0 0 ::1:5111 :::* LISTEN
- then i start the server on local machine:
- OPEN http://localhost:80
- to prove its there :
- curl http://localhost:80
- <!DOCTYPE html>
- <html data-n-head-ssr data-n-head="">
- <head>
- <meta data-n-head="true" charset="utf-8"/><meta data-n-head="true" name="viewport" content="width=device-width, initial-scale=1"/><meta data-n-head="true" d
- but on local machine:
- curl the remote machine on 5111
- curl http://insomnia247.nl:5111
- curl: (7) Failed to connect to insomnia247.nl port 5111: Connection refused
- but still, to be sure
- on remote machine, it is listening
- netstat -an | grep 5111
- tcp 0 0 127.0.0.1:5111 0.0.0.0:* LISTEN
- tcp6 0 0 ::1:5111 :::* LISTEN
RAW Paste Data
