-
Communicating between ASP.Net applications
Hi,
If we have two windows machines(say A and B) on which we have installed IIS and ASP.NET 2003. And say App-A is on machine-A and App-B is on second machine. If both machines are connected by an Ethernet cable or Lan cable But not connected to Internet.
Can we access App-B on machine-B, by clicking on URL of App-B within App-A on machine-A. Because, both machines are not servers they are just normal workstations. So, if I have an application named App-A, the URL of it would be
"http://localhost/App-A/default.aspx"
So, we can see that "localhost" is the default webserver name for both windows machines, so this is the reason I want to know wether we can call App-B on Machine-B from App-A on Machine-A, if both machines are connected through Ethernet cable or Lan, But are not connected to Internet?.
Thanks,
Srinivas
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Hi Phil,
What, I have is two laptops, connected through wireless network. I pinged one another and I got the reply from both. So, if I move one application to the second laptop. And pass values from one to another from dotnet application, will the above method work?. I am asking this because I need to install .net and IIS on 2nd laptop to see it works or not. Bcause both will be clients none of the laptop is configures as server.
Thanks,
Srinivas
-
You may need to use the IP address (e.g., http://xx.xx.xx.xx/appname/), but yes, it should work.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Hi Phil,
I tested it on both laptops, it din't work. Both laptops are on same wireless network/domain, I pinged them and I got replies from both.
Just a quick question. In laptop-A, I opened internet explorer and in the address bar I typed "http://192.168.1.100/test/welcome.aspx" (this is the URL of laptop-B). And then pressed enter, it says page cannot be displayed.
If at all, what we were discussing so far works. I think that particular webpage on laptop-B must be displayed in IE of laptop-A?. So since it is not getting displayed I think this will not work?. What do you say?.
If that is the case, this will work only if one of the laptop is configured as Server and other as client?
Thanks,
Srinivas
Similar Threads
-
By srinivasc_it in forum ASP.NET
Replies: 1
Last Post: 02-07-2007, 09:55 AM
-
Replies: 0
Last Post: 04-11-2003, 09:34 PM
-
By ASPSmith Training in forum dotnet.announcements
Replies: 0
Last Post: 06-18-2002, 03:39 AM
-
By Martin Halford in forum ASP.NET
Replies: 0
Last Post: 02-08-2002, 11:45 PM
-
By Tomas in forum ASP.NET
Replies: 0
Last Post: 08-26-2001, 02:45 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks