Re: PHP port number
| From: | Rob Adams | Date: | Wed, 09 Apr 2003 19:59:23 +0000 |
| Subject: | Re: PHP port number | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143181@lists.php.net to get a copy of this message | ||
"Mike Tuller" <php@ce.anoka.k12.mn.us> wrote in message
news:A217F4E4-6AC4-11D7-A6B6-0003938E6950@ce.anoka.k12.mn.us...
> I have scripts running on an OS X system that is behind a firewall. I
> have troubles running PHP pages when I am outside the firewall, and
> have noticed that PHP seems to be running on port 16080. I just assumed
> that it ran on port 80. Where can I change this, or is there a reason
> that PHP runs on a different port number?
>
> Mike
>
PHP doesn't run on any specified port. The web server that PHP is part of
or gets executed by is what actively listens to a port number. If you're
running apache, try finding the line in httpd.conf like Listen 16080. You
may have more than one instance of apache running at the same time on the
same server, but they'll have to be listening to different port numbers.
(Or perhaps your firewall redirects you to some other place on an incoming
port 80 request.)
-- Rob