Fedora and socket binding

Kevin D. Clark kclark at CetaceanNetworks.com
Wed Mar 10 11:01:35 EST 2004


Duane Morin writes:

> It appaers that Fedora is keeping me from listening on any sockets.  I 
> wrote a simple Java app:
> 
> System.out.println("Init...");
> s = new ServerSocket(x);
> while (true) { 
>   System.out.println("Listening...");
>   s.accept();
>   System.out.println("Received.");
> }

A complete code snippet might be more helpful.  I'm wondering if your
program has any exception handlers, for example.

> Anybody know what Fedora is running that is keeping me from opening a 
> simple server socket?  It's really quite annoying to have worked out all 
> my hardware issues and not still not be able to get any work done.  
> How would I know if something like ipchains was running?  There's nothing 
> in the process table that suggests that it is.  Netstat is reporting 
> nothing of interest.

What do these produce while your program is running?:

        lsof       (please show only relevant stuff)
        netstat -a (please show only relevant stuff)
        ipchains -L

Regards,

--kevin
-- 
Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA)
cetaceannetworks.com!kclark (GnuPG ID: B280F24E)
alumni.unh.edu!kdc




More information about the Discuss mailing list