Results 1 to 5 of 5

Thread: SSH to web server to view web pages

  1. #1
    Join Date
    Jul 2006
    Location
    Indiana
    Beans
    164
    Distro
    Lubuntu 16.04 Xenial Xerus

    SSH to web server to view web pages

    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
    Thanks,
    Rev. Fr. Robert, Registered Ubuntu User # 6004
    St. Nectarios Orthodox Church

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,628

    Re: SSH to web server to view web pages

    What happens when you go to: http://127.0.0.100

  3. #3
    Join Date
    Jul 2006
    Location
    Indiana
    Beans
    164
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: SSH to web server to view web pages

    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
    Thanks,
    Rev. Fr. Robert, Registered Ubuntu User # 6004
    St. Nectarios Orthodox Church

  4. #4
    Join Date
    Jun 2008
    Location
    Colombia
    Beans
    443

    Re: SSH to web server to view web pages

    Maybe it's a problem with the proxy, try adding an exception for the site you want to access.

  5. #5
    Join Date
    Sep 2009
    Beans
    1

    Re: SSH to web server to view web pages

    Thanks for your sharing. Thanks for sharing this useful information. It's great.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •