Find the answer to your Linux question:
Results 1 to 4 of 4
Hello I'm having the same issue when using different browsers on the same client, and even trying from a different client: A web server running on Ubuntu works fine when ...
  1. #1
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127

    Question [SOLVED] [Ubuntu 10.04] Can't connect to web server on non-80

    Hello

    I'm having the same issue when using different browsers on the same client, and even trying from a different client: A web server running on Ubuntu works fine when listening to requests on TCP80 but is not reachable when configured to listen on eg. TCP8787:

    Code:
    # netstat -nat
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State      
    tcp6       0      0 :::8787                 :::*                    LISTEN
    I have the same issue when using Nginx or Cherokee, so I suspect there's something in Ubuntu that triggers this.

    Has someone seen this and knows what to do?

    Thank you for any hint.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    i assume you are including the port when you are trying to connect to the server?

    Other than that, it seems to be listening using ipv6 for some reason.

  3. #3
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    Are you writing what protocol the browser has to use?
    Open Source and Linux Forums
    for example ... without "http://" your browser won't connect.

    What's your installed web-server? apache?

  4. #4
    Linux Newbie
    Join Date
    Nov 2007
    Posts
    127
    Thanks guys for the help. I made sure I typed the whole thing "http://192.168.0.8:8787/index.php" but I still couldn't connect, from two different hosts.

    For some reason, it worked at some point, and I have no idea why :-/

Posting Permissions

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