PDA

View Full Version : [SOLVED] SSH to web server to view web pages


frrobert
September 24th, 2009, 10:28 AM
I am working on 3 websites that currently can not be viewed from the net but access is only set to view locally


One site is set to the address 127.0.0.100

I can ssh with the following command

ssh -L 50000:127.0.0.100:80 username@server.xxx

If I try to view the web pages

with

http://127.0.0.100:50000/

I get a page load error.

Other developers on the team can see the pages in the browser but they are not running ubuntu. I am running Ubuntu 8.10

I am figuring it is a configuration issue on my machine, any ideas would be appreciated

Thanks

wojox
September 24th, 2009, 10:31 AM
What happens when you go to: http://127.0.0.100

frrobert
September 24th, 2009, 10:53 AM
I figured it out the problem it was operator error even though you type in
ssh -L 50000:127.0.0.100:80 username@server.xxx
for the ssh command you type 127.0.0.1:50000 in the browser or localhost:50000

Sarmacid
September 24th, 2009, 10:58 AM
Maybe it's a problem with the proxy, try adding an exception for the site you want to access.

staffgs1102
September 29th, 2009, 11:03 PM
Thanks for your sharing. Thanks for sharing this useful information. It's great.