Port 8000 not accessible from outside

Virtual machine affected
Affected VM is sweb in Swansea, created using the vanilla Ubuntu image.

Problem
I cannot access my server (running a nodejs application) using port 8000, as the connection times out.
I installed a nodejs application (currently listening on port 8000) and also Apache2 on port 80 as a test: i can access http://IP/ but not http://IP:8000/.
If from the VM I open the page with lynx http://localhost:8000, it works.

sudo netstat -plnt

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1294/mysqld
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1276/sshd
tcp6       0      0 :::80                   :::*                    LISTEN      1444/apache2
tcp6       0      0 :::22                   :::*                    LISTEN      1276/sshd
tcp6       0      0 :::8000                 :::*                    LISTEN      1598/node

Should I change something in the network configuration?

Many thanks
Andrea

Workaround
I did set the port to 80 (after shutting Apache2 down) and with this port works.

Because CLIMB is bound by each of the host Universities’ network regulations and firewall rules, the only open ports to CLIMB at all sites are 22, 80 and 443. Other ports might work in some places, but we can’t guarantee any ports aside from 22, 80 and 443 will work.

Rad

2 Likes

Hi,

Just to echo @rpoplawski, here in Swansea we have stricter security requirements, and so have locked down CLIMB to only 22, 80, and 443.

-Imran

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.