Advertising a service in a network

I am running a serverapplication on a host computer. Clients connect to this server using sockets, however it is not always the client knows the IP address to the server. Is there any good way for the server to advertice its service so that the clients easily can find it and connect to
[297 byte] By [johan.ga] at [2007-11-26 19:57:26]
# 1
I'd suggest a UDP broadcast. http://forum.java.sun.com/thread.jspa?threadID=427381&messageID=1903870
quittea at 2007-7-9 22:52:10 > top of Java-index,Java Essentials,Java Programming...
# 2
LAN?, WAN?, Internet?, Firewalls? Routers?
kajbja at 2007-7-9 22:52:10 > top of Java-index,Java Essentials,Java Programming...
# 3
Put it on a website. It's point-to-point communication, if you don't have both points, you can't communicate. Unless you're in a LAN, you can do broadcasts there.
CeciNEstPasUnProgrammeura at 2007-7-9 22:52:11 > top of Java-index,Java Essentials,Java Programming...
# 4
> LAN?, WAN?, Internet?, Firewalls? Routers?It's in a LAN.Will try the broadcast method then. Thanks.
johan.ga at 2007-7-9 22:52:11 > top of Java-index,Java Essentials,Java Programming...