Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I am developing an ASP site which also makes use of SQL database and developed for some office work. I want some help about how to publish ASP site on one PC and then access that website on all PC's connected with LAN. No server is available and I have to complete all work only using personal computers.
Posted
Updated 7-Jan-16 16:31pm
v2

Well, you have a problem. The non-server versions of Windows only support a limited number of inbound connections. For Windows 7 and above, I think it's 20 connections, so if you have more than that number of machines that can connect to your website, your going to have problems.

The "server" machine needs to have IIS running. Which version depends on the version of Windows the "server" PC is running. You can do that from the control panel. You're looking for the feature Internet Information Services. Pick the options appropriate for your site.

Visual Studio has a nice little Publish tool. All you do is right-click your web project and click Publish. You'll fill in the details appropriate for your "server" PC to connect to it.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Jan-16 22:43pm    
5ed. I would add that there are other servers which can support ASP.NET; Apache can support it based on Mono (CLR implementation) via the module mod_mono.
—SA
You can host your application on IIS on your computer. Then people on network should be able to access it using http://<yourcomputername>/URL</yourcomputername>. Ensure that in firewall settings, World Wide Web service is an allowed program and Domain check box is checked for it.

You can check this by going to "Allow a program through firewall" setting for Firewall. Since this is a office computer, you may not have required privilege for make changes to this setting. You will need to contact your network administrator to make these changes for you.

Note that not having a dedicated server may hamper availability of your web application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900