Closed GoogleCodeExporter closed 9 years ago
The socket bound to port 3702 only listens for multicast messages sent to
239.255.255.250. When the
transport layer is initialized it opens a second unicast port, which should be
randomly assigned by the
operating system. The unicast port is displayed by the logger if you set the
loglevel to FINEST
(WsDiscoveryConstants.loggerLevel), but it is unfortunately not possible to
retrieve the unicast port
automatically. This has been fixed in SVN, where WsDiscoveryServer has three
new methods: getMulticastAddress(), getMulticastPort() and getUnicastPort().
The code in the repository should be fairly
stable and has support for the new WS-Discovery 1.1 standard as well.
If you are having other network problems you should make sure that
WsDiscoveryServer is binding to the
right network interface. In "discovery_using_server.java" there is an example
of how you can specify the
multicast interface.
Original comment by mmag...@gmail.com
on 25 Nov 2009 at 10:36
Original comment by mmag...@gmail.com
on 30 Nov 2009 at 11:53
Original issue reported on code.google.com by
amup...@gmail.com
on 25 Nov 2009 at 9:04