I made sure I loaded the deny.ip file. I tried to ban my own IP, but I can still access the web server. Please solve it
There is only one line written in my deny.ip: deny IP address;
The best configuration is posted for analysis
allow deny is in order, if you
allow 192.168.1.0/24 # ... deny 192.168.1.5
192.168.1.5is accessible
192.168.1.5
There is another possible situation. If your server is local, assume the IP is 192.168.1.5 Then you
deny 192.168.1.5
does not affect access via 127.0.0.1 These are two different network interfaces and vice versa
127.0.0.1
The best configuration is posted for analysis
allow deny is in order, if you
192.168.1.5
is accessibleThere is another possible situation. If your server is local, assume the IP is 192.168.1.5
Then you
does not affect access via
127.0.0.1
These are two different network interfaces and vice versa