If you have a router, then no. If not, then it might be possible, depending if you have an Firewall or not.
The simplest solution is to open the httpd.conf and replace
- Code: Select all
Listen 80
with
- Code: Select all
Listen 127.0.0.1:80
then even if you are connected directly to the internet nobody would be able to access your webserver.
Additional you could comment the Include command for the the httpd-ssl.conf at the end of the file (or replace the Listen 443 to Listen 127.0.0.1:443 in the httpd-ssl.conf file).
Also look into the my.cnf of MySQL and uncomment skip-networking, then MySQL is starting without IP support.
glitzi