Access xampp server localhost on outside/other internet

Nagarjun Reddy 11 Reputation points


I installed xampp server on my windows virtual mechine.

It is working perfectly as localhost, but I want access these in other/outside internet on different computer.

Please do needful.


Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,448 questions
{count} vote

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 25,866 Reputation points

    @Nagarjun Reddy

    Apologies in delayed response.

    For accessing the server on the internet, you need to have the Public IP open to internet on the NSG for the port number on which the service is running. Ensure there are no NSG rules blocking on the Subnet level for required ports.

    Once this is done, you can use this tool and see if the Public IP is open on the required port. If this is open and the service is running you should be able to access.

    If you get closed when using the tool, then you can check the local Windows firewall and allow the port on that aswell.


    [Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.]

    0 comments No comments

  2. abhishek singhal 1 Reputation point

    You could use tunnel service to get a public url for your localhost. It exposes your localhost to the internet.
    One such tunnel service is Staqlab tunnel.