Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Why my coap server started twice?
Why my coap server started twice? [message #1779741] Fri, 12 January 2018 01:16 Go to next message
LI Yi is currently offline LI YiFriend
Messages: 37
Registered: June 2017
Member
Hi,
The following is my kura-console.log. it seems that my coap Server have started twice. but i used netstat command and can not find the port 5683. Are there anything advices ? thnaks!

INFO: Create standard properties with file Californium.properties
Jan 12, 2018 7:57:55 AM org.eclipse.californium.core.CoapServer start
INFO: Starting server
Jan 12, 2018 7:57:55 AM org.eclipse.californium.core.CoapServer start
INFO: No endpoints have been defined for server, setting up default endpoint at port 5683
Jan 12, 2018 7:57:55 AM org.eclipse.californium.core.network.CoAPEndpoint start
INFO: Starting Endpoint bound to 0.0.0.0/0.0.0.0:5683
Jan 12, 2018 7:57:55 AM org.eclipse.californium.core.network.CoAPEndpoint start
SEVERE: Cannot start Endpoint at 0.0.0.0/0.0.0.0:5683
java.net.BindException: Address already in use
        at java.net.PlainDatagramSocketImpl.bind0(Native Method)
        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:93)
        at java.net.DatagramSocket.bind(DatagramSocket.java:372)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:222)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:279)
        at org.eclipse.californium.elements.UDPConnector.start(UDPConnector.java:88)
        at org.eclipse.californium.core.network.CoAPEndpoint.start(CoAPEndpoint.java:238)
        at org.eclipse.californium.core.CoapServer.start(CoapServer.java:217)
        at org.eclipse.iot.my.coap.MyCoapServer.activate(MyCoapServer.java:65)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
        at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
        at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
        at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
        at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
        at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
        at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
        at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
        at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

Jan 12, 2018 7:57:55 AM org.eclipse.californium.core.network.CoAPEndpoint stop
INFO: Stopping endpoint at address 0.0.0.0/0.0.0.0:5683
Re: Why my coap server started twice? [message #1779780 is a reply to message #1779741] Fri, 12 January 2018 13:56 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

Sorry if this sounds stupid, but are you sure you looked for open UDP ports, not just TCP?

[Updated on: Fri, 12 January 2018 13:56]

Report message to a moderator

Re: Why my coap server started twice? [message #1779808 is a reply to message #1779780] Sat, 13 January 2018 02:21 Go to previous message
LI Yi is currently offline LI YiFriend
Messages: 37
Registered: June 2017
Member


[Updated on: Sat, 13 January 2018 12:44]

Report message to a moderator

Previous Topic:CC2650: Receiving constant values for light and temperature from SensorTag
Next Topic:Kura built-in Simple Artemis MQTT Broker Service logs
Goto Forum:
  


Current Time: Thu Apr 25 09:54:48 GMT 2024

Powered by FUDForum. Page generated in 0.02918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top