This site can’t be reached 127.0.0.1 refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED

RastreoWeb7 years ago

Hi i install traccar server traccar-windows-3.15 in windows 10 , i go to service and active the service , go to google crhome and use http://localhost:8082 and i receive
This site can’t be reached 127.0.0.1 refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED
i check for logs i see

2018-03-06 12:14:49  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2018-03-06 12:14:49  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.161-b12
2018-03-06 12:14:49  INFO: Memory limit heap: 1696mb non-heap: 0mb
2018-03-06 12:14:49  INFO: Character encoding: UTF-8 charset: UTF-8
2018-03-06 12:14:49  INFO: Version: 3.15-SNAPSHOT
2018-03-06 12:15:03  INFO: Starting server...

firewall is off

CAn you help me , why i can see traccar in my browser?

Anton Tananaev7 years ago

You are checking wrong log file. You need to look at the wrapper one.

RastreoWeb7 years ago
...
FINEST|9592/0|Service traccar|18-03-06 12:14:59|INFO 3/6/18 12:14 PM: liquibase: Successfully released change log lock
FINEST|9592/0|Service traccar|18-03-06 12:14:59|[main] INFO org.eclipse.jetty.util.log - Logging initialized @17601ms
FINEST|9592/0|Service traccar|18-03-06 12:15:04|java.lang.reflect.InvocationTargetException
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at java.lang.reflect.Method.invoke(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5040
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.traccar.TrackerServer.start(TrackerServer.java:117)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.traccar.ServerManager.start(ServerManager.java:81)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.traccar.Main.main(Main.java:38)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	... 6 more
FINEST|9592/0|Service traccar|18-03-06 12:15:04|Caused by: java.net.BindException: Address already in use: bind
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.nio.ch.Net.bind0(Native Method)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.nio.ch.Net.bind(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.nio.ch.Net.bind(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
FINEST|9592/0|Service traccar|18-03-06 12:15:04|	at java.lang.Thread.run(Unknown Source)
INFO|wrapper|Service traccar|18-03-06 12:15:04|calling onStop
INFO|wrapper|Service traccar|18-03-06 12:15:04|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|18-03-06 12:15:04|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|18-03-06 12:15:04|Win service stop - after shutdown
INFO|wrapper|Service traccar|18-03-06 12:15:04|Win service stop - before notify
INFO|wrapper|Service traccar|18-03-06 12:15:04|Win service terminated
Anton Tananaev7 years ago

Have you tried searching on forum? There is probably a million threads about this issue. You have a port conflict.

RastreoWeb7 years ago

Tks for your help Anton , im not so good looking this problem can you tell me how can i solve it?

Anton Tananaev7 years ago