cannot access the site from other machines

Posted by Cibin under ASP.NET on 9/3/2013 | Points: 10 | Views : 861 | Status : [Member] | Replies : 5
Hi,

I am in a big trouble anyone please help me, My problem is that : I had created a site and host in my server with port number 333. when i run that site in the same machine like http://localhost:333 , its working fine. But when i run that site from other machine with its ip address and port number , it is not working , what will i do. Please Help me.. Its Urgent.


Thanks In Advance




Responses

Posted by: Bandi on: 9/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer this link once..
http://stackoverflow.com/questions/12182159/iis7-using-an-ip-address-and-port-number-will-not-display-a-web-site-home-page

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Cibin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 9/3/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
A couple of things to remeber. Your computer two types of IP address. The first is a private IP address and the second is a public IP adress. IPConfig will show you your local, private address. Your private address will not be accessible from anywhere outside your LAN.
If you would like to change your websites URL locally from localhost, you need to change your IDE's development settings.
This site has a great tutorial on how to do that.

Link:- http://weblogs.asp.net/scottgu/archive/2005/11/21/how-to-run-a-root-site-with-the-vs-vwd-2005-local-web-server.aspx

Happy Coding

Cibin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 9/3/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
The first thing I would check is your firewall settings. If it works with the firewall disabled, then re-enable the firewall and open port 80 (for HTTP) for incoming connections. You may have to open other ports for other services like FTP.
Happy Coding.

Cibin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 9/3/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Accessing the web site from another machine
Once you have a web server running, and the application installed, you only need the IP address of your web server to access the application.
To find your IP address try: Start -> Run -> type cmd (hit ENTER) -> type ipconfig (hit ENTER )

Once you have the IP address AND IIS running AND the application installed you can access you website from another machine in your LAN by just typing in the IP Address of you web server and the correct path to your application. If you put your application in a directory called NewApp, you will need to type something like http://your_ip_address/NewApp/default.aspx

Turn off your firewall
If you do have a firewall turn it off while you try connecting for the first time, you can sort that out later.

Cibin, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 9/3/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
You may also need to enable the World Wide Web Service inbound firewall rule.
On Windows 7: Start -> Control Panel -> Windows Firewall -> Advanced Settings -> Inbound Rules
Find World Wide Web Services (HTTP Traffic-In) in the list and select to enable the rule. Change is pretty much immediate.

Cibin, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response