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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby makus » 10. April 2015 01:44

How can i open my localhost site to only local network LAN (no out to internet)
makus
 
Posts: 4
Joined: 10. April 2015 01:40
Operating System: linux

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

Postby JJ_Tagy » 10. April 2015 01:57

Don't forward your ports on your router to your server and there won't be access from the internet.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

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

Postby makus » 10. April 2015 02:09

ty for answ but i dont have router)
makus
 
Posts: 4
Joined: 10. April 2015 01:40
Operating System: linux

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

Postby JJ_Tagy » 10. April 2015 02:34

No router but you have a LAN? Ok...

You can use httpd.conf to require ip addresses by range or use iptables/firewall.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

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

Postby makus » 10. April 2015 02:42

# 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
makus
 
Posts: 4
Joined: 10. April 2015 01:40
Operating System: linux

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

Postby makus » 15. April 2015 16:49

up
makus
 
Posts: 4
Joined: 10. April 2015 01:40
Operating System: linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 11 guests