C-Gate 2.11.1 on Linux not listening on port 20023

Discussion in 'C-Bus Toolkit and C-Gate Software' started by ssaunders, Apr 8, 2018.

  1. ssaunders

    ssaunders

    Joined:
    Dec 17, 2008
    Messages:
    242
    Likes Received:
    35
    Location:
    Melbourne
    (Apologies ... ignore ... fixed with a reboot)

    C-Gate appears to not be listening on port 20023, but is on plenty of others as expected. PICED won't connect to it, but Toolkit will connect fine (which I understand uses 20123, so that makes sense given 20123 is listening).

    I'm not seeing anything obvious on this new Linux install of C-Gate that would prevent it, but admittedly this is the first time I've ever done an install of C-Gate on Linux. Ubuntu LTS v16.04.

    netstat -tlnp reports the following. Would there be a default setting that restricts C-Gate to only listen on the secure 20123 command port and not 20023?

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1077/sshd
    tcp6 0 0 :::22 :::* LISTEN 1077/sshd
    tcp6 0 0 :::20025 :::* LISTEN 8629/java
    tcp6 0 0 :::20026 :::* LISTEN 8629/java
    tcp6 0 0 :::20123 :::* LISTEN 8629/java
    tcp6 0 0 :::20124 :::* LISTEN 8629/java
    tcp6 0 0 :::20125 :::* LISTEN 8629/java
    tcp6 0 0 :::20126 :::* LISTEN 8629/java
    tcp6 0 0 :::20033 :::* LISTEN 8629/java
     
    Last edited: Apr 8, 2018
    ssaunders, Apr 8, 2018
    #1
  2. ssaunders

    ssaunders

    Joined:
    Dec 17, 2008
    Messages:
    242
    Likes Received:
    35
    Location:
    Melbourne
    Ugh. Applying the Microsoft-esque fix of rebooting the C-Gate fixed it instantly. Probably a Java thing relating to copying "libjspLux86_64bit.so" into the JRE lib directory and that not being picked up.

    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1069/sshd
    tcp6 0 0 :::22 :::* LISTEN 1069/sshd
    tcp6 0 0 :::20023 :::* LISTEN 1125/java
    tcp6 0 0 :::20024 :::* LISTEN 1125/java
    tcp6 0 0 :::20025 :::* LISTEN 1125/java
    tcp6 0 0 :::20026 :::* LISTEN 1125/java
    tcp6 0 0 :::20123 :::* LISTEN 1125/java
    tcp6 0 0 :::20124 :::* LISTEN 1125/java
    tcp6 0 0 :::20125 :::* LISTEN 1125/java
    tcp6 0 0 :::20126 :::* LISTEN 1125/java
     
    Last edited: Apr 8, 2018
    ssaunders, Apr 8, 2018
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.