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


Groups > comp.os.linux.networking > #2597 > unrolled thread

things I don't understand

Started byFrançois Patte <francois.patte@mi.parisdescartes.fr>
First post2013-12-03 22:47 +0100
Last post2013-12-05 14:24 -0800
Articles 4 on this page of 24 — 10 participants

Back to article view | Back to comp.os.linux.networking


Contents

  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

Page 2 of 2 — ← Prev page 1 [2]


#2603

Fromgof@somewhere.invalid (Adam Wysocki)
Date2013-12-04 08:00 +0000
Message-ID<gof.1386143963.19167@somewhere.invalid>
In reply to#2597
François Patte <francois.patte@mi.parisdescartes.fr> wrote:

> 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 checked the file /etc/hosts and it is correct: "127.0.0.1
> localhost" is the first line.

Do you have a proxy in firefox?

AW

[toc] | [prev] | [next] | [standalone]


#2611

Fromunruh <unruh@invalid.ca>
Date2013-12-04 23:18 +0000
Message-ID<UKOnu.68479$XI7.44022@fx04.iad>
In reply to#2597
On 2013-12-03, Fran?ois Patte <francois.patte@mi.parisdescartes.fr> wrote:
> Bonsoir,
>
>
> I am facing a problem that I don't understand: I try to help a friend to
> setup a web server on a mac.

You do know that this is a linux newsgroup not a mac 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
> checked the file /etc/hosts and it is correct: "127.0.0.1
> localhost" is the first line.

On linux the place which tells the resolver which places to look for ip
addresses is in /etc/nsswitch.conf. It may also be there in Mac OS.
hosts:           mdns4_minimal files nis dns mdns4
The important ones are the "files" which tells it to use /etc/hosts, and
the dns, whichtells it to go out to the dns server in /etc/resolv.conf.

>
> 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.
>
>
> I don't know much on mac, but I don't understand why it is possible to
> connect to the server through 127.0.0.1 and not with localhost, or IP
> address on the local network.


>
>
> If someone could give me some clues or test to perform, I will be
> gratefull to him...
>
>
> Thanks for attention.
>

[toc] | [prev] | [next] | [standalone]


#2616 — Apache on MacOSX? (was Re: things I don't understand)

FromWhiskers <catwheezel@operamail.com>
Date2013-12-05 21:16 +0000
SubjectApache on MacOSX? (was Re: things I don't understand)
Message-ID<slrnla1r9o.a95.catwheezel@ID-107770.user.individual.net>
In reply to#2597
On 2013-12-03, François Patte <francois.patte@mi.parisdescartes.fr> wrote:
> Bonsoir,
>
>
> I am facing a problem that I don't understand: I try to help a friend to
> setup a web server on a mac.
>
> 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
> 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.
>
>
> I don't know much on mac, but I don't understand why it is possible to
> connect to the server through 127.0.0.1 and not with localhost, or IP
> address on the local network.
>
>
> If someone could give me some clues or test to perform, I will be
> gratefull to him...
>
>
> Thanks for attention.

Choosing a Subject that has something to do with your question, is
always a good start.  I've suggested an appropriate change.

This web search <https://ixquick.com/do/search?q=apache+mac+osx> looks
useful; the very first non-sponsored item I see is "Using Apache and PHP
on MacOS X - Dev Articles"
<www.devarticles.com/c/a/Apache/Using-Apache-and-PHP-on-Mac-OS-X/>

If you want to run Unix or Linux open source software on a Mac, look at
"Fink" <http://www.finkproject.org/>.  But OS X apparently comes with
Apache already installed, in Apple-ish form.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~

[toc] | [prev] | [next] | [standalone]


#2617 — Re: Apache on MacOSX? (was Re: things I don't understand)

FromThad Floryan <thad@thadlabs.com>
Date2013-12-05 14:24 -0800
SubjectRe: Apache on MacOSX? (was Re: things I don't understand)
Message-ID<52A0FD05.4030407@thadlabs.com>
In reply to#2616
On 12/5/2013 1:16 PM, Whiskers wrote:
> [...]
> Choosing a Subject that has something to do with your question, is
> always a good start.  I've suggested an appropriate change.
> [...]

And it is a good suggestion.  :-)

More people should read and abide this:

    http://www.catb.org/~esr/faqs/smart-questions.html

and these:

    http://linux.sgms-centre.com/misc/netiquette.php

    http://howto-pages.org/posting_style

Thad

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.os.linux.networking


csiph-web