简体   繁体   中英

How can i access an asp.net website remotely with real IP address

I have a web-service / website (with database) which is developed by asp.net MVC in Visual Studio. Currently, it is running on localhost.

But I would like to access this website through internet from another location. In this case, what are the steps to be taken?? Can anybody enlighten me in this regard?

[Note: I am new to this concept, I have googled this issues already ; However, no luck so far]

First

You should have a valid IP for your internet ,Your ISP can take care of that.

Then you should create a new website in your IIS application,

Then publish your website in visual studio in a folder and copy content of that folder to a folder which your newly created IIS website points to.

Then you should tell IIS which port you want to use and open that port in your firewall.

You can Google for creating new website in IIS,It has easy steps.

I hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM