Should I be able to run more than one device on the same host (same machine, same IP-address).
I started the Sample Tv, and then the Sample Remote Control, but I can not control the Tv. If I start the Sample Control Point, I only see a root node, nothing else.
I'm seeing this when i start the second UPnP application:
CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0xfe03, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)
which suggests that the second app tries to bind to the same port as the first.
What should / can I do about this?
/Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should I be able to run more than one device on the same host (same machine, same IP-address).
I started the Sample Tv, and then the Sample Remote Control, but I can not control the Tv. If I start the Sample Control Point, I only see a root node, nothing else.
I'm seeing this when i start the second UPnP application:
CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0xfe03, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)
which suggests that the second app tries to bind to the same port as the first.
What should / can I do about this?
/Daniel
I finally figured out, how to get this working. I had to call
UPnP.setEnable(UPnP.USE_ONLY_IPV4_ADDR);
UPnP.setEnable(UPnP.USE_LOOPBACK_ADDR);
Now it works. Device get giscovered and they can talk to each other.
Hi Deniel,
I changed to disable IPv6 interfaces as default, added the change to the latest CVS source tree today.
Thanks for your report :-)