CodeTogether Edge Server Technical Notes

The CodeTogether Edge Server is distributed as a Docker image and can be used with Kubernetes or raw Docker hosting. The full On-Premises Installation Guide should be followed before proceeding to use the information below.

Runtime Path

Contains the NodeJS engine to run CodeTogether.


Startup Script

Automatically runs CodeTogether when the container starts up. It first kills any existing Nginx and NodeJS running processes and then initiates CodeTogether through the NodeJS forever command which monitors for the CodeTogether runtime. If it goes down for some reason, it restarts the CodeTogether runtime (NodeJS process) automatically. Run it if you want to manually restart CodeTogether:


License File

Contains license information needed to use CodeTogether.


CodeTogether Log

Contains startup information such as if CodeTogether has a valid license along with the available public ports for HTTP and HTTPS connections.

root INFO CodeTogether On-Premises services now available on port 1080
(HTTP) and 1443 (SSL)
root INFO Valid CodeTogether license installed


You can health-check the running processes inside the container using the netstat command to verify services and ports
are available:

[Nginx default public ports – i.e. reachable outside the container]

# netstat -tulpn | grep nginx
tcp 0 0* LISTEN 10/nginx: master
tcp 0 0* LISTEN 10/nginx: master

[CodeTogether private port – i.e. not reachable outside the container]

# netstat -tulpn | grep node
tcp 0 0* LISTEN 212/node

[CodeTogether is running and monitored by NodeJS forever command]

# /opt/codetogether/.nvm/versions/node/v12.18.3/bin/node
/opt/codetogether/.nvm/versions/node/v12.18.3/lib/node_modules/forever/bin/forever list

[Sample output showing the process is ‘running’ along with its uptime metric formatted days:hours:minutes:ms]

info: Forever processes running 
data: uid command 
forever pid id logfile uptime 
data: [0] tQIL /opt/codetogether/.nvm/versions/node/v12.18.3/bin/node 
/opt/codetogether/runtime/src-gen/backend/main.js --hostname 
--port 3001 200 212 /opt/codetogether/.forever/tQIL.log 


Confirming Availability

You can verify that CodeTogether On-Premises is available via the following URLs:

[default HTTP connections]


[default HTTPS connections]


Nginx Log Files

Contain all requests to the /clients/ area along with the request to CodeTogether itself.


Tracking Downloads

You can track the /clients/ downloads in the container.

[For Eclipse]

# cat /var/log/nginx/access.log | grep "GET 
/clients/eclipse/plugins/com.genuitec.eclipse.codetogether.core_" |
wc -l

[For IntelliJ]

# cat /var/log/nginx/access.log | grep "GET 
/clients/intellij/codetogether-onpremises-" | wc -l

[For VSCode]

# cat /var/log/nginx/access.log | grep "GET 
/clients/vscode/codetogether-onpremises-" | wc -l