Apache 'Listen' Config

Soldato
Joined
12 Dec 2003
Posts
2,588
Currently have Apache set to

Listen 127.0.0.1:8080
Listen 192.168.1.14:8080

Is it possible to use a partial IP instead of a full one? I tried setting it to

Listen 192.168.1.:8080
Listen 192.168.1:8080
Listen 192.168.1.*:8080

but with any of those it meant Apache wouldn't start.
I know I could assign my computer a static IP but as my router isn't too good when it comes to static IPs.

Thanks
 
Problem is I don't want it bound to one of the interfaces ;)
When I connect my laptop at work I only want the Apache server to show up locally (192.168.1.) not on the work network (10.0.6.)
 
Problem is I don't want it bound to one of the interfaces ;)
When I connect my laptop at work I only want the Apache server to show up locally (192.168.1.) not on the work network (10.0.6.)

Ah sensible :)

In that case, im not sure :( The standard way is to use wildcards as you tried e.g 192.168.*.* but if those aren't supported then I guess you may have to go to a static address.

Hopefully someone else knows better :)
 
Back
Top Bottom