Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2601

Re: things I don't understand

From Pascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Newsgroups comp.os.linux.networking
Subject Re: things I don't understand
Date 2013-12-04 00:20 +0100
Organization Plouf !
Message-ID <l7lov7$2jet$1@saria.nerim.net> (permalink)
References <l7ljkd$cll$1@talisker.lacave.net>

Show all headers | View raw


François Patte a écrit :
> 
> I am facing a problem that I don't understand: I try to help a friend to
> setup a web server on a mac.

Then why post into a Linux newsgroup ?

> apache2 is installed and running; if I request the url http://127.0.0.1
> it is OK: "It Works!" is displayed.
> 
> If I request the same url using localhost instead of 127.0.0.1, the
> answer is: firefox cannot connect to this site (something like this). I

The *exact* error message is important.
What happens is you run the following in a terminal :

$ telnet localhost http

> checked the file /etc/hosts and it is correct: "127.0.0.1
> localhost" is the first line.
> 
> If I request http://192.168.1.12 (IP given by the livebox on the private
> network), it is also impossible to connect to the http server.

Maybe the web server listens only on 127.0.0.1. You  can check with netstat.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-03 22:47 +0100
  Re: things I don't understand scrat <scrat@invalid.com> - 2013-12-03 17:18 -0500
    Re: things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-04 10:45 +0100
  Re: things I don't understand Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-12-04 00:20 +0100
    Re: things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-04 10:43 +0100
      Re: things I don't understand Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-04 10:42 +0000
        Re: things I don't understand Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-04 10:43 +0000
      Re: things I don't understand gof@somewhere.invalid (Adam Wysocki) - 2013-12-04 12:59 +0000
      Re: things I don't understand Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-04 23:15 +0000
        Re: things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-05 18:12 +0100
          Re: things I don't understand unruh <unruh@invalid.ca> - 2013-12-05 18:54 +0000
            Re: things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-05 21:10 +0100
              Re: things I don't understand scrat <scrat@invalid.com> - 2013-12-05 17:25 -0500
                Re: things I don't understand François Patte <francois.patte@mi.parisdescartes.fr> - 2013-12-06 09:27 +0100
                Re: things I don't understand Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-06 08:46 +0000
                Re: things I don't understand scrat <scrat@invalid.com> - 2013-12-06 17:10 -0500
                Re: things I don't understand unruh <unruh@invalid.ca> - 2013-12-07 00:12 +0000
                Re: things I don't understand scrat <scrat@invalid.com> - 2013-12-06 20:08 -0500
                Re: things I don't understand Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-12-07 09:19 +0100
      Re: things I don't understand Andrew Gideon <c182driver9@gideon.org> - 2013-12-09 19:55 +0000
  Re: things I don't understand gof@somewhere.invalid (Adam Wysocki) - 2013-12-04 08:00 +0000
  Re: things I don't understand unruh <unruh@invalid.ca> - 2013-12-04 23:18 +0000
  Apache on MacOSX? (was Re: things I don't understand) Whiskers <catwheezel@operamail.com> - 2013-12-05 21:16 +0000
    Re: Apache on MacOSX? (was Re: things I don't understand) Thad Floryan <thad@thadlabs.com> - 2013-12-05 14:24 -0800

csiph-web