-1

I have hosted a ASP.Net website on my localhost within my organisation. I want to connect to this website from any system around the world. I am unable to access it for now. What things should be done to allow access to the website to everyone in the Internet.

Madhur Maurya
  • 1,016
  • 4
  • 19
  • 42
  • 1
    I would highly, highly recommend against even trying to open your local organisation to the world. Highly. You should look into getting an actual server infrastructure; there's a reason they exist. I am not a `.net` guy, but I would imagine you should look into Azure Cloud or something like that – Matt Fletcher Nov 29 '17 at 09:24
  • 2
    Possible duplicate of [Access localhost from the internet](https://stackoverflow.com/questions/5108483/access-localhost-from-the-internet) – Matt Fletcher Nov 29 '17 at 09:25
  • 1
    I agree with @MattFletcher, but given your question my answer below is the best I can give. – Hans Petter Taugbøl Kragset Nov 29 '17 at 09:26
  • 1
    Your answer isn't wrong, but even beside the question of _should you_, I think it only really touches on the tip of the iceberg. There are a lot of things you'd have to do to make the site accessible beyond opening firewalls, such as various server config to accept your public IP rather than `localhost` – Matt Fletcher Nov 29 '17 at 09:29

1 Answers1

1

The required port(s) need to be opened in all firewalls that are between your web server and the internet.

This can include both software firewall(s) on your server, i.e. firewalld, and hardware firewalls in place as network middleware.