473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

computer name to ip

Hi all,

Situation:
- 2 computers behind router/switch
- dhcp enabled on router
- computer name 1 = cpuA (WinXP Pro)
- computer name 2 = cpuB (WinXP Home)
- cpuA and cpuB can access each other's resources
- cpuA runs IIS with asp.net website

Problem:
- How can cpuB always get access to the asp.net website 'being served' on
cpuA
without knowing the IP of cpuA (which is always changing). I tried:
"http://cpuA/<rest_of_address>" and "\\cpuA\<rest_of_address>" but both
without
any luck. It does work when I use the IP address instead
(http://<IP>/<rest_of_address>). Do I need to add some dns stuff to get it
working?

Regards and thanks for your time,
Frederik
Nov 19 '05 #1
2 1254
Are they both on the same subnet or at least the same domain/workgroup?
"Frederik" <ae************@hotmail.com> wrote in message
news:uQ**************@tk2msftngp13.phx.gbl...
Hi all,

Situation:
- 2 computers behind router/switch
- dhcp enabled on router
- computer name 1 = cpuA (WinXP Pro)
- computer name 2 = cpuB (WinXP Home)
- cpuA and cpuB can access each other's resources
- cpuA runs IIS with asp.net website

Problem:
- How can cpuB always get access to the asp.net website 'being served' on
cpuA
without knowing the IP of cpuA (which is always changing). I tried:
"http://cpuA/<rest_of_address>" and "\\cpuA\<rest_of_address>" but both
without
any luck. It does work when I use the IP address instead
(http://<IP>/<rest_of_address>). Do I need to add some dns stuff to get it
working?

Regards and thanks for your time,
Frederik

Nov 19 '05 #2
> "David Angelovich" <fa**@fake.com> wrote
Are they both on the same subnet or at
least the same domain/workgroup?


Yes, they are both on the same workgroup.

Frederik
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jim Scheffler | last post by:
I'm new to VB.NET programming and would like some help on a little project I've got going. How would I go about getting computer information on my local computer, i.e. serial number, hard drive...
4
by: Dr. StrangeDub | last post by:
Leaving network identification/DNS out of the picture, how does one change the name of a computer in a local Workgroup (in C#)? I implemented the SetComputerName() API call and that only seems to...
5
by: z. f. | last post by:
i need to get the computer name from an aspx page. i use System.Windows.Forms.SystemInformation.ComputerName() and it's working fine, but in second thought, it might not be recomended to use the...
0
by: Daylor | last post by:
hi. i have app that im developing in my computer with vs.net 2003 (offcourse). now, this app is running in other computer in the local intranet. in the other computer i dont have vs.net installed...
5
by: ThunderMusic | last post by:
Hi, I want to find the computer name and the company name from the network indentification informations. For the computer name, I found System.Net.Dns.GetHostName(), but I fgound nothing for...
6
by: Spyder | last post by:
When you go to "MyComputer" and get properties and select "Computer Name", you get the Domain or Workgroup a computer belongs to. I have looked thru MSDN library, the Internet, the Registry and in...
1
by: Lamis | last post by:
HI, I need to install a service that changes Host Name, computer name, on all our machines. I have tried to ways: First one: static void RenameHostName() { ManagementClass mComputerSystem =...
2
by: Vincent | last post by:
I have been trying to find some API routines that will allow me to determine the name of the computer that is accessing a file on a server. I have found the NetFileEnum call (returns the names of...
7
by: =?Utf-8?B?TWljaGFlbCBkZSBWZXJh?= | last post by:
to all, I was wondering if anyone has sample code that I can use to get information about a computer in active directory. For example, I want to know the date to when a computer was joined to a...
0
by: BrianT | last post by:
I'm trying to build code that allows the computer name to be changed, then asks the user to reboot to make the change affective. I got the code working when logged in as the local computer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.