Remote Access to IIS server under win7

Source: Internet
Author: User

If your local IIS service is configured (refer to my previous blog) and you need to remotely access the IIS server,

We recommend that you use http://blog.163.com/yuer_d/blog/static/7676115220112192535772/ArticleWrite details.

If it is too troublesome, please refer to my simple description:

That is, if an external host wants to access your host, it needs to set a protection wall to enable a port for your IIS server. In this way, other hosts can access the service.

The process is as follows:

Control Panel-Windows Firewall-Advanced Settings-Inbound rules. Then select "new rule" in the right column ". Select "Port" and click "Next. Select "TCP", specify "specific port" (for example, 1234), and click "Next. Select "allow connection" and click "Next. Select "domain, private, and public" (you can select this option based on your actual situation) and click Next. Add the name and description by yourself.


After the preceding configurationProgram.However, you need to change the server name of the connection string of the web. config (if it is an Asp.net project) file to the IP address format. Then, remotely try to use http: // ip: Port/to access the program.


If you are prompted that you cannot connect to the database, it is likely that your local database does not allow access using TCP/IP.. The settings are as follows: SQL Server Configuration Manager-SQL SERVER network configuration-. Select MSSQLServer to enable TCP/IP. Restart SQL Server. Then, remotely try to use http: // ip: Port/to access the program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.