Page 1 of 1

How can i open my localhost site to only loocal network LAN

PostPosted: 10. April 2015 01:44
by makus
How can i open my localhost site to only local network LAN (no out to internet)

Re: How can i open my localhost site to only loocal network

PostPosted: 10. April 2015 01:57
by JJ_Tagy
Don't forward your ports on your router to your server and there won't be access from the internet.

Re: How can i open my localhost site to only loocal network

PostPosted: 10. April 2015 02:09
by makus
ty for answ but i dont have router)

Re: How can i open my localhost site to only loocal network

PostPosted: 10. April 2015 02:34
by JJ_Tagy
No router but you have a LAN? Ok...

You can use httpd.conf to require ip addresses by range or use iptables/firewall.

Re: How can i open my localhost site to only loocal network

PostPosted: 10. April 2015 02:42
by makus
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
Listen 12.34.56.78:80

Like so?

NOTE: i dont use linux not once so i dont know any . so pls help me very detailed ty

Re: How can i open my localhost site to only loocal network

PostPosted: 15. April 2015 16:49
by makus
up