Nevermind, this command worked:
sudo nano -w +114 /etc/apache2/httpd.conf
Order deny,allow
Deny from all
Allow from localhost
And
Order deny,allow
Deny from all
Allow from my.computer.ip
sudo nano -w +114 /etc/apache2/httpd.conf
Order deny,allow
Deny from all
Allow from localhost
And
Order deny,allow
Deny from all
Allow from my.computer.ip