Workaround for a Web server that cannot be accessed

Source: Internet
Author: User
Tags anonymous iis interface log
Access to the Web server is a lot of LAN users often have to do a "homework", in the frequent access process, many friends have accumulated some Web server access experience, these experiences will often help them to quickly solve some of the small inaccessible problems.

Access to the Web server is a lot of LAN users often have to do a "homework", in the frequent access process, many friends have accumulated some Web server access experience, these experiences will often help them to quickly solve some of the small inaccessible problems. However, this article contributed to the Web server can not access the failure of the phenomenon is more special, if not carefully analyzed, simple experience to solve the problem, mostly easy detours; In order to help your friends to access the Web server efficiently, the author will now restore this special network access troubleshooting process, I hope you can get inspiration from it!

Can ping but not access

A unit LAN size is not large, a total of 18 ordinary computers, plus a Web server with Windows Server 2003 system installed, all ordinary computers and Web servers are all connected to a manageable core switch, and broadband routers to achieve LAN share Internet. At ordinary times, 18 ordinary computers installed on the operating system is not the same, there are Windows XP system, Windows Vista system installed, and two computers are still used in the Windows 98 system, However, these computers can normally access the Web server in the local area network.

However, in recent time, the LAN user through IE browser access to Web server site content, the system screen unexpectedly appears the authentication dialog box, asking the user to enter the appropriate user name and password information; in fact, the Web server does not have authentication enabled at all, It can normally allow any user on the LAN to log in anonymously, access the content of the site, then why is this happening now? What's even more surprising is that network administrators cannot successfully authenticate to the Web server, regardless of whether they enter a legitimate user account for a Web server or enter a Super Administrator account. When the network administrator tries to test the connectivity of the LAN target Web server by using the ping command, it is found that the Web server can be properly ping, which also proves that the physical connection between the normal computer on the LAN and the Web server is normal; A failure to access the Web server is likely to occur, which is probably the problem with the Web server itself.

Check Web site access rights

At first, the network administrator thought that the Web server itself was improperly set up, which caused the LAN user not to visit normally. Given that the Web server suddenly requires authentication, the network administrator determines that the Web server's access rights have been accidentally modified, and immediately enters the Windows Server 2003 Server system, clicking Start/Settings/Control Panel, and then double-clicking in Control Panel. Administrative Tools icon, double-click the IIS control icon, open the IIS console window for the corresponding system, find the site name for the target Web server, and then right-click the target site name, and perform the Properties command in the right-click menu to open the target site's property settings window ; Click the Directory Security tab in the Settings window, under Authentication and access control for the corresponding Options settings page, click the Edit button to open the Settings dialog shown in Figure 1, where the network administrator either selects or uncheck Anonymous access, Integrated Windows authentication, and so on. The Web server is still authenticated, which means that this symptom is not related to the access permission settings of the target Web server.

Check Server Connection Restrictions

Because a legitimate user account is entered and even the Super Administrator account is not properly logged into the Web server, the network administrator begins to suspect that the Windows Server 2003 Server system may limit the number of concurrent connections to the user. Because once you limit the number of user connections to the Web server's site home directory, users who have deferred logins will not be able to access site content on the Web server anyway. With this in mind, the network administrator first opens the Resource Manager window for the server system. Locate the site home directory for the Web server, right-click the directory icon, execute the Properties command on the shortcut menu, open the Properties Settings window for the target site's home directory, and click the Sharing tab in the Settings window. In the corresponding Option settings page, the network administrator found that the Windows Server 2003 Server System limited the number of user accesses to the directory to 5, and then tried to modify the parameter to 20 while saving the set operation and then accessing the Web server again. The same symptom continues to occur.

Later, when the network administrator queried the user connection limit information, found that the Windows Server 2003 Server system if the licensing mode is not set at that time, the number of users connected to the phenomenon of limited. Search for such a result, the network administrator secretly excited, it seems that the Web server can not access the phenomenon of failure will soon be resolved; He immediately opens the Start menu of the Windows Server 2003 Server system, clicking the Settings/Control Panel command, and then double-clicking the The "Licensing" option, in which the network administrator discovers that the server system chooses the "Per Server" option by default, and that the number of user connections is displayed as "5", it is clear that the parameters are not set correctly. The network administrator immediately selects the "Per Device or user" option here (as shown in Figure 2), then selects the "I agree" option in each device or per-client Licensing dialog box, and then restarts the server system; I thought such an effort would surely reap, However, when you re accessing the LAN Web server from a normal computer, there is an annoying authentication dialog box on the System screen.

Accidentally found the cause of the failure

Without a clue to the network administrator, a local area network user suddenly ran to the network administrator for help, said their department in order to work needs, recently bought a network printer, the network printer connected to the unit's core switch, and set up the relevant network printing parameters, All the users in their department are able to use the network printer to print the material normally, but today, his own computer cannot use the network printer, while others can print the network normally. Hearing this user's help, network administrator immediately came to the scene of the network printer, login to the printer background management interface, accidentally opened the network printer log page, found that the IP address of the network printer and the local network of a computer IP address conflict, and then carefully check the conflicting IP address, Unexpectedly is the Web server uses the IP address, no wonder that the Web server is not normal access, the original network printer IP address and its use of the IP address of an accidental conflict.

Originally, in order to manage and maintain conveniently, the network printer also runs a Web service, the user through the Web form of the background management interface, can be very easy to set the network printer's various internet parameters, but the network printer with the Weh server in the default state does not support anonymous access. When the user sets the IP address of the network printer and the Web server address conflict, the LAN user again enters the Web server's IP address in the address bar of IE browser window, actually accesses the network printer's backstage login interface, This is why the authentication dialog box appears on the system screen when accessing the Web server. When you use ping to test the connectivity of your Web server, you test the network printer so that a network printer can be ping, but you need to enter a legitimate user account to access it.



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.