I am trying to allow people to access my XAMPP Apache server from the internet. I have been trying this for many hours and still no luck. This isn't my first time attempting to do this and the first time I did it, it didn't work too.
Here's what I have done so far:
1. My laptop has a static IP address from my router.
2. My router is directly connected to my ISP's modem.
3. My router has been set to forward port 8106 to my laptop's LAN IP.
4. My Windows Firewall has been set to forward 8106 both on UDP and TCP.
5. I have disabled remote control on my Windows.
6. I do not have any 3rd party firewall installed.
7. I have both DynDNS and No-IP installed.
8. My ports do not seem to be open... I have tested from this site: http://www.canyouseeme.org/
9. I have done some of the fixes as described on: http://www.pcwintech.com/common-problem ... forwarding
The problem right now is my port does not seem to be open. I tried port forwarding on BitComet and it works OK as long as I launch BitComet.
This is the code of the site I wish to share on the internet....
- Code: Select all
#CONTENT SITE TEMPLATE
NameVirtualHost 192.168.0.2:8106
Listen 192.168.0.2:8106
<VirtualHost 192.168.0.2:8106>
ServerAdmin your@email.com
ServerName 192.168.0.2:8106
DocumentRoot "C:/Projects/content sites/content sites - template"
ErrorLog logs/content-error.log
CustomLog logs/content-custom.log common
<Directory "C:/Projects/content sites/content sites - template">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
AllowOverride all
</Directory>
</VirtualHost>
I read somewhere on this forum that if you remove the following code from httpd-xampp.conf, internet sharing would work... Doesn't work for me...
- Code: Select all
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
Any idea what is causing my port to not forward? I have tried turning off Windows Firewall.... Does not make any difference.