Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2010, 03:59 PM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 6
Thanked 0 Times in 0 Posts
Default Deployment: cannot connect remotely

Hi, this is an extension of my question posed in this thread. I'm posting this here because I feel my question is creeping beyond the scope of Imar's book.

I got my site to work when I type in "localhost" or my IP address into the browser. However, the site does not work from other computers. I went to a friend's house and typed in http://myIPaddress and it acted like the site did not exist. I thought maybe it was a firewall thing, so I enabled http to pass through my Windows firewall, but that did not fix the problem. Any idea what I may have missed? Thanks,

-Chris
 
Old October 13th, 2010, 05:18 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Your PC probably doesn't have your public IP address, but your router has. You may need to configure your router to forward HTTP traffic (port) to your local machine.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
caiman (October 13th, 2010)
 
Old October 14th, 2010, 01:15 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Thanks, that was it. Everyone else can now see my website using the public IP.

However... I myself cannot view it. When my friend across town types in the IP he sees my site, but when I type in the IP on my computer (where it's being hosted) I get a "webpage not available" error. Any idea why?
 
Old October 14th, 2010, 03:17 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think your router doesn't route internal requests through the "http forwarding rules" and thus never reaches your own machhine. But localhost works, right?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 14th, 2010, 09:53 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Yep, localhost works.

Any way around this? It's not a very big deal, more of a curiosity.

-Chris
 
Old October 14th, 2010, 10:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Not sure. You may be able to configure this in your router....

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old October 14th, 2010, 05:26 PM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Cool, I will see what I can figure out.

As always, thank you for your help.

-Chris





Similar Threads
Thread Thread Starter Forum Replies Last Post
CAN NOT CONNECT TO SQL SERVER 2000 REMOTELY charlietritran SQL Server 2000 9 December 22nd, 2006 04:14 PM
How to connect an Access DB remotely? frossie Access 1 June 14th, 2006 08:07 AM
Connect remotely to SQL server rylemer .NET Framework 2.0 1 December 6th, 2005 03:16 AM
How to connect to a datasource remotely jolo98 General .NET 3 November 18th, 2004 11:11 AM
go to new record remotely stoneman Access VBA 0 February 8th, 2004 07:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.