Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fedora and socket binding



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org