Hi,

I recently made it a requirement that a server either start on all the ports 
specified or none of them.  The server code attempts to bind to and immediately 
close an ipv6 port, and if it's successful, a server will also bind ipv6.  
Binding the same port on ipv4 and ipv6 shouldn't be a problem because they're 
separate from each other.

You might be trying to run several servers with a "secure" slot set, as this is 
enabled by default in some cases.  You can debug it further with the 
''servers.'' word.  Please let me know if you figure out the problem!

( scratchpad ) 9999 httpd servers.
=== http.server
0:0:0:0:0:ffff:0:0:9999
0.0.0.0:9999

Thanks,
Doug

On Sep 22, 2010, at 9:10 AM, Damian Dobroczyński wrote:

> W dniu 22.09.2010 15:54, Damian Dobroczyński pisze:
>> W dniu 22.09.2010 12:59, Damian Dobroczyński pisze:
>>> Hi list!
>>> 
>>> I tried to run counter web application example and whatever port I tried
>>> to run it on I got "Address already in use (98)". Then I tried to run an
>>> "empty" (without main-responder set)  httpd server using "9999 httpd"
>>> and such but it always failed with the message about the address in use.
>>> I thought that my system went crazy and tried to run other example
>>> programs (i.e. python demo servers etc.) and they were ok. My system is
>>> Ubuntu 10.04 and is sane. Did you have similar issues before? Please, help.
>>> 
>>> Damian
>>> 
>>> 
>> 
>> P.S. I'm using the latest factor version form the git repository, built
>> with ./build-support/factor.sh tool ;)
>> 
>> D.
>> 
>> 
> 
> Ok, I've digged into the code. The factor server implementation tries to
> bind to ip6 and ip4 addresses concurrently on the same port. Obviously
> I've something wrong with ip6 on my machine or I do not have ip6
> configured at all 'cause after I've changed the code (set-servers in
> io.servers.connection.private vocabulary) to use only ip4 everything
> went well. Good to know.
> 
> Factor is fascinating anyway ;)
> 
> D.
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to