java.net.BindException on Mac OS 10.3.4

From: Mike Baranczak (mbaranczak_at__REMOVE_THIS_users.sourceforge.net)
Date: 06/01/04


Date: Tue, 01 Jun 2004 00:10:35 GMT

I have a strange problem which I only noticed today. I can't open a
server socket at all using Java. I always get a BindException, even when
I know for a fact that the port is not in use. This only affects Java
apps; Apache is working fine, so's CVS, and I can listen on any port I
want with netcat.

This seems to affect all Java programs, not just the ones I wrote. Those
same programs were working fine just a few days ago (I have both JBoss
and Jetty installed, but most of the time they're not running.)

Could this have anything to do with the latest OS update?

-MB



Relevant Pages

  • Problem with JNI and Tomcat
    ... This DLL is used to communicate over a RS232 port, and it must notice any event that occurs on the port to the java application. ... the nativeOpenPort functions looks for the "notifyEvent" Java method in the object that called it, in order to notify events when they occurs, and saves it in the "eventNotifyMethod" of the SERIALPORT structure ... private int portType; ...
    (comp.lang.java.programmer)
  • Re: RS232 data to Access database - general approach
    ... java involved and your lovely project can have many elegant solutions. ... the moment the user connects the handheld to the serial port. ... > measurement is made. ...
    (comp.lang.java)
  • Re: RS232 data to Access database - general approach
    ... java involved and your lovely project can have many elegant solutions. ... the moment the user connects the handheld to the serial port. ... > measurement is made. ...
    (microsoft.public.access.externaldata)
  • Re: what kind of non microconroller app are done in forth?
    ... utils and apps for it etc.. ... The Java guys tried to widen that bottleneck. ... It ought to be easier to port one particular Forth compiler than a java ...
    (comp.lang.forth)
  • Re: Fatching a web page with space in url
    ... This code is from the book Java Examples in a Nutshell, ... It uses the HTTP protocol directly. ... HTTP port ... // Open a network socket connection to the specified host ...
    (comp.lang.java.programmer)