SonyCSL / MoekadenRoom

MIT License
19 stars 6 forks source link

Can i run MoekadenRoom and Homegateway ( my app using OpenEcho java to receive data from device and send it to server...) #3

Closed hoangl-hle closed 5 years ago

hoangl-hle commented 5 years ago

I run Homegateway app and it says: " java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) at java.net.AbstractPlainSocketImpl.bind(Unknown Source) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at com.sonycsl.echo.protocol.EchoTCPProtocol.openTCP(EchoTCPProtocol.java:44) at com.sonycsl.echo.EchoSocket.openSocket(EchoSocket.java:54) at com.sonycsl.echo.Echo.start(Echo.java:158) at main.EchonetController.(EchonetController.java:575) at main.MainClass.main(MainClass.java:143) " I think the reason is both MoekadenRoom and Homegateway using the same port 3610 to start Echo. What can i do to run both apps on same computer. Thanks.

hoangl-hle commented 5 years ago

@sowd Please help me

sowd commented 5 years ago

Hi, Sorry for late reply! (And thank you for reminding

I think the reason is both MoekadenRoom and Homegateway using the same port 3610 to start Echo.

You are right. If you really want to run both in one PC, I recommend to use virtual PC environment such as VirtualBox.

hoangl-hle commented 5 years ago

Thank you so much