How to make xampp public and accessible?

by haylee.mertz , in category: Third Party Scripts , 6 months ago

How to make xampp public and accessible?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by filiberto , 6 months ago

@haylee.mertz 

To make XAMPP public and accessible to others on the Internet, follow these steps:

  1. Open XAMPP Control Panel and start Apache server.
  2. Find out your public IP address by searching "What is my IP address" on Google.
  3. Access your router's settings by typing your router's IP address into your web browser's address bar.
  4. Log in to your router's admin page by entering your username and password. Note: If you are not sure of the login credentials, consult your router's user manual or contact your Internet service provider.
  5. Look for the "Port Forwarding" or "Virtual Server" section in your router settings. This is where you can open a port to make XAMPP accessible to the public.
  6. Add a port forwarding rule for port 80 (or any other port that Apache is using) to forward all incoming traffic to the local IP address of the computer running XAMPP. Make sure to specify the protocol (TCP/UDP) and enable the rule.
  7. Save the changes and restart your router.
  8. Test the accessibility of your XAMPP server by typing your public IP address into a web browser followed by the port number (e.g. http://your-public-ip:80).
  9. You can also use a service like No-IP to create a domain name that points to your dynamic public IP address. This will make it easier for others to access your XAMPP server.


By following these steps, you can make your XAMPP server public and accessible to others on the Internet. Make sure to consider the security implications of opening your server to the public and take necessary precautions to protect your server from unauthorized access.