From owner-freebsd-net Thu Feb 7 12:47:28 2002 Delivered-To: freebsd-net@freebsd.org Received: from ns.a1.org.uk (ns.a1.org.uk [194.105.64.163]) by hub.freebsd.org (Postfix) with ESMTP id 18C8837B41F for ; Thu, 7 Feb 2002 12:47:08 -0800 (PST) Received: from a1.org.uk (host217-35-92-236.in-addr.btopenworld.com [217.35.92.236]) by ns.a1.org.uk (8.9.3/8.9.3) with ESMTP id UAA05676 for ; Thu, 7 Feb 2002 20:46:37 GMT (envelope-from bap@a1.org.uk) Message-ID: <3C62E7B6.D543BE3@a1.org.uk> Date: Thu, 07 Feb 2002 20:46:46 +0000 From: Bap X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Multicast bind problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think I must be missing something obvious! Iv'e just started to use JINI with discovery by multicast I can set up rimd and get reggie going, but when I try to run the browser I get the following: java.lang.reflect.InvocationTargetException: java.net.BindException: Address already in use at java.net.PlainDatagramSocketImpl.bind(Native Method) at java.net.MulticastSocket.create(MulticastSocket.java, Compiled Code) at java.net.DatagramSocket.(DatagramSocket.java, Compiled Code) at java.net.DatagramSocket.(DatagramSocket.java, Compiled Code) at java.net.MulticastSocket.(MulticastSocket.java, Compiled Code) at net.jini.discovery.LookupDiscovery$AnnouncementListener.(LookupDiscovery.java, Compiled Code) at net.jini.discovery.LookupDiscovery$2.run(LookupDiscovery.java, Compiled Code) at java.security.AccessController.doPrivileged(Native Method) ... I am running the linux JDK 1.3.1 on 4.5-RC FreeBSD 4.5-RC #3: Thu Jan 24 19:18:28 GMT 2002 I know the issue is not java, as I can perform the same steps on a Solaris box, and all works as expected. I am running IPFIREWALL, but I don't think that should affect a bind to a port. Could there be anything I've missed in the kernel config? Please can someone help me? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message