• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: port 80 refused
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port 80 refused


  • Subject: Re: port 80 refused
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 18 Jun 2015 20:47:41 -0400

> Le 2015-06-18 à 18:20, Robert B. Hanviriyapunt <email@hidden> a écrit :
>
> Hey Robert and Patrick,

Hi Hanviriyapunt,

> >sudo lsof -P -i tcp:80
> Password:
> COMMAND  PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
> httpd   7397 root    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7398  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7399  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7400  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7401  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7402  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)
> httpd   7527  edc    5u  IPv6 0xf141290e6dd33f95      0t0  TCP *:80 (LISTEN)

So, Apache is listening on all interfaces. What is the output of « curl -v http://localhost » ?

> and
>
> edc@edcs-mbp:~>/usr/bin/host localhost
> localhost.attlocal.net has address 127.0.0.1
> edc@edcs-mbp:~>/usr/bin/dig a localhost
>
> ; <<>> DiG 9.8.3-P1 <<>> a localhost
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34501
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;localhost.			IN	A
>
> ;; ANSWER SECTION:
> localhost.		0	IN	A	127.0.0.1
>
> ;; Query time: 7 msec
> ;; SERVER: 192.168.1.254#53(192.168.1.254)
> ;; WHEN: Thu Jun 18 17:18:20 2015
> ;; MSG SIZE  rcvd: 43
>
> Could it be my WIFI router?
>
> --
> Robert B. Hanviriyapunt
>
>
>
> On Jun 17, 2015, at 4:56 AM, Pascal Robert <email@hidden> wrote:
>
>> What is the output of « sudo lsof -P -i tcp:80 »?
>
>
> Other response:
>
>> Message: 2
>> Date: Wed, 17 Jun 2015 09:39:59 +0100
>> From: Patrick Middleton <email@hidden>
>> To: WebObjects-Dev Apple <email@hidden>
>> Subject: Re: port 80 refused
>> Message-ID: <email@hidden>
>> Content-Type: text/plain; charset="utf-8"; Format="flowed";
>> 	DelSp="yes"
>>
>> I'd guess that IPv4 is disabled but IPv6 is enabled.  Never seen that
>> before.
>> Check your Apache access log.  You may find the address ::1 appearing
>> everywhere.
>> What do ' /usr/bin/host localhost ' and '/usr/bin/dig a localhost'
>> report?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: port 80 refused
      • From: "Robert B. Hanviriyapunt" <email@hidden>
References: 
 >port 80 refused (From: "Robert B. Hanviriyapunt" <email@hidden>)
 >Re: port 80 refused (From: Pascal Robert <email@hidden>)
 >Re: port 80 refused (From: "Robert B. Hanviriyapunt" <email@hidden>)

  • Prev by Date: Re: port 80 refused
  • Next by Date: Re: port 80 refused
  • Previous by thread: Re: port 80 refused
  • Next by thread: Re: port 80 refused
  • Index(es):
    • Date
    • Thread