Waqas
Waqas

Reputation: 867

How to access website on client machine?

I created management information system for school in MVC 4 which is role based system and configured it on server though IIS. It works fine on single machine (server).Now i need to share that application on LAN network without internet. I have no idea about how to share this to client system.I read many of tutorial but that didn't help me anymore.Please help me i spent lot of time on this issue but got no solution. Thanks in advance.

Upvotes: 2

Views: 2104

Answers (2)

Spider man
Spider man

Reputation: 3330

1.Check the IP address of system in which you hosted the application: eg: 10.0.1.12

2.Replace the localhost in URL with the IP address. ie http://localhost/YourApplicationFolder

http://10.0.1.12/YourApplicationFolder

3.Add an inbound rule in firewall, for port 80.

4.Now try to access your website from another system with http://10.0.1.12/YourApplicationFolder

setting inbound rule.

1.go to Control Panel\System and Security\Windows Firewall

2.select Advanced settings from left.

3.select Inbound rule from left.

4.Select Add new rule from right.

5.select port and Next.

6.Select TCP and special port specify 80. Next.

7.select Allow the connection.Next.

8.select Domain,private,public.Next

9.Add some name and description.

10.finish

you have to set this in server.

Upvotes: 2

Amit Mishra
Amit Mishra

Reputation: 285

  1. Place your Application folder in C:\inetpub\wwwroot
  2. Open IIS and navigate to Your-PC > Sites > Default Web Site
  3. Right click on your Application folder and convert to application
  4. Now check your IP Address on other system browser if its not showing your IIS page then turn off your PC firewall and now you can access your application any system within LAN Your URL will be Like http://192.168.1.1/AppFolder/

Thats it.

Upvotes: 0

Related Questions