httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] incoming IP connect
Date Tue, 08 Feb 2011 12:11:26 GMT
On Tue, Feb 8, 2011 at 12:02 PM, Alain Roger <raf.news@gmail.com> wrote:
> Hi,
>
> i have a host (windows 7) on wihich i have web server with apache/PHP/MySQL.
> for now this computer has IP 192.168.1.2 (for example).
> on the other hand i have a linux (Fedora 14) computer with IP 192.168.1.50
> (for example) which should access to the web server via IP 192.168.1.2.
>
> except Listen 192.168.1.2:80 in the httpd.conf file, what should i add in
> the apache configuration file to allow external (other than 192.168.1.2)
> connection (but internal to my local network so everything with
> 192.168.1.xxx) to my web server (via browser) ?
> i need help because i'm a little bit confused now.
>
> thanks a lot.
>
> --
> Alain
> -----------------------------------------------------------
> Windows 7 x64 / Fedora 14 x64
> PostgreSQL 8.3.5 / MySQL 5
> Apache 2.2.16
> PHP 5.3.1
>
>

Apache doesn't control how packets get routed to your computer, it
only controls what it does when they arrive. If you listen on *:80 or
192.168.1.2:80, then anything that can route packets to that
server/port will communicate with apache.

Eg, if you configure your router to forward packets coming to your
external IP on port 80 to 192.168.1.2:80, then computers outside your
network would now be able to access your server, but nothing changes
in apache.

If you have configured apache to listen on *:80 or 192.168.1.2:80, and
cannot connect to it from another machine on the same subnet
(192.168.1.50 for example), then you have some firewall issue between
those two computers.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message