473,387 Members | 3,750 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,387 software developers and data experts.

WCF: how to find wheremy server is???

I need to find my server over the network!!! so my installer installs
client on one machine and server on other machine on the same network.
How can i do that??? How can my client know where my server is???

please help

sunny a newbee!!!!
Jun 27 '08 #1
2 1472

"sunny" <fu***********@gmail.comwrote in message
news:43**********************************@q27g2000 prf.googlegroups.com...
>I need to find my server over the network!!! so my installer installs
client on one machine and server on other machine on the same network.
How can i do that??? How can my client know where my server is???
Your client program must know the LAN IP on which the server resides. If
it's over the internet, then the client machine must know the WAN/Internet
IP where the server resides. This information would be kept in a config file
I would assume on the client side using a URI.

It talks about the a program's usage of a URI, which happens to be a Web
Service example, but the URI applies to your example and how your client
application would locate the server.

http://gdp.globus.org/gt4-tutorial/m...l/ch01s02.html
If the server is on a LAN, the go to the machine and enter IPconfig /all at
the Windows Command Prompt to get the LAN IP the machine is using.

The rest of it, you're going to have to do your home work or use Google or
Dogpile.com to find the articles on the how to.


Jun 27 '08 #2
You may want to take a look on:

* publishing your service in the Active Directory
* sending a broadcast signal and wait for any responses
http://codeidol.com/csharp/csharp-ne...tise-a-Server/
http://www.java2s.com/Code/CSharp/Ne...dcstSample.htm
http://www.demo2s.com/Code/CSharp/Ne...eBroadcast.htm

I hope it helps.

"sunny" <fu***********@gmail.comwrote in message
news:43**********************************@q27g2000 prf.googlegroups.com...
>I need to find my server over the network!!! so my installer installs
client on one machine and server on other machine on the same network.
How can i do that??? How can my client know where my server is???

please help

sunny a newbee!!!!

Jun 27 '08 #3

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

Similar topics

9
by: =?Utf-8?B?S2FpIEZyYW5zc29u?= | last post by:
We're starting a new project with a distributed winform client that communicates with a central server, primarily all on the same LAN. Large amounts of data may be sent to and from the client. ...
5
by: =?Utf-8?B?SmltbWVy?= | last post by:
Hello, I've been trying to create a WCF SOAP Router Service that can forward not just the message body but also any security headers set by the originator of the message. The destination service...
5
by: Jonathan Kay | last post by:
Hi, I'd like to my WCF webservice to work both on SSL and without. Unfortunately searching has led to dead ends, references to changes that only work on the old previous beta versions and I...
1
by: Nadeem Ashraf | last post by:
Hi, We are developing a web based application "UltraLearn.com" with a mix of junior/senior Microsoft technologies. That includes Microsoft Silverlight, ASP.Net Ajax and WCF/WF. Recently, we have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.