Discovery mechanism for Controller consists of the follow steps:
1. Send a multicast UDP request with string "openremote" to 224.0.1.100:3333.
2. Start up a TCP server with port 2346 to wait for the server URL feedback from Controller.
3. Result:
- Success: On Controller side, when receives the data, Controller will set up a TCP connection according to the host IP in the UDP with 2346 port,and then sends its URL back ,e.g:"http://10.10.10.101:8080/controller", through this TCP connection.
- Fail: fails to discover Controller URL if nothing is received within 5 seconds.
Comments (2)
Aug 13, 2009
Neil Cherry says:
Dan, is this a standard? I couldn't find the reference for 224.0.1.100 except fo...Dan, is this a standard? I couldn't find the reference for 224.0.1.100 except for Edward Flynn (NASDAQ) and NODSD but nothing else.
Thanks
Aug 13, 2009
Dan Cong says:
Neil,this is not a standard, the port number is random and 224.0.1.100 is just a...Neil,this is not a standard, the port number is random and 224.0.1.100 is just a random IP of Class D multicast address (224.0.0.0 to 239.255.255.255).