Block HTTP requests from other computers in Network

Hello
My computer shares an internet connection using an ADSL router.There are other three machines.I have set up a Apache server for learning purpose and I want it to be inaccessible from anywhere else including the PCs in the network.When I enter my ip-address assigned in the network (192.168.1.1xx) from other computer,I get my ppages and I dont want that.

How can I block HTTP requests from other computers?

Thanks in advance.

Hi
Configure your web server to just bind to the loopback address rather than your local ip address then you can access locally via http://localhost

I tried Yast configuration to activate:
listen ports and addersses:
127.0.0.1 80

But it is still accessible via 192.168.1.100 from another computer.Firewall ports are closed.

Aatish910 wrote:

>
> I tried Yast configuration to activate:
> listen ports and addersses:
> 127.0.0.1 80
>
> But it is still accessible via 192.168.1.100 from another
> computer.Firewall ports are closed.
>
>
If the firewall ports are really closed you cannot access that from another
server, check your firewall again.


PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram

Hi
In the server conf file you need to set the ServerName to localhost:80 and listen.conf to 127.0.0.1:80 then restart apache.

Or you can remove apache from allowed services and to provide local access via custom rule in susefirewall.

Done.
Thanks