Cannot access server webpage

ajswe8 years ago

I have installed the Traccar server on my VPS according to the instructions, see below.

[root@xxx home]# ./traccar.run
Verifying archive integrity... All good.
Uncompressing traccar 100%
Detected RHEL or Fedora:
Installing the traccar daemon..

[root@xxx home]# /opt/traccar/bin/traccar start
Starting traccar...
Waiting for traccar.....
running: PID:2384

[root@xxx home]# tail /opt/traccar/logs/tracker-server.log
2015-10-02 17:18:02 INFO: Operating System name: Linux version: 2.6.32-042stab108.7 architecture: amd64
2015-10-02 17:18:02 INFO: Java Runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.85-b03
2015-10-02 17:18:02 INFO: Memory Limit heap: 592mb non-heap: 214mb
2015-10-02 17:18:02 INFO: Version: 3.1-SNAPSHOT
2015-10-02 17:18:03 INFO: Starting server...

Java is installed correctly, see below.

[root@xxx home]# java -version
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.3.el6_7-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)

Port 8082 is open:

[root@xxx home]# netstat -anp
.
.
tcp 0 0 :::5073 :::* LISTEN 2386/java
tcp 0 0 :::8082 :::* LISTEN 2386/java
tcp 0 0 :::5010 :::* LISTEN 2386/java
.
.

And the port is in my iptables:

[root@xxx home]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8082

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

But I cannot access the webpage (http://[myip]:8082/).
What could be the problem here?

ajswe8 years ago

Problem solved!

The problem was the network I was sitting on did not allow connections to port 8082. Now when I am on another network I can access the webpage.