How to change the port that the Neo4j service uses after installing the DX NetOps Topology services?
search cancel

How to change the port that the Neo4j service uses after installing the DX NetOps Topology services?

book

Article ID: 410708

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

By default, the Neo4j services uses port 5000. Due to other applications running on this server, we need to change this port to resolve a port conflict.

Environment

All Supported Releases

Resolution

Below are the steps to change the Neo4j port. In this example we arechanging it to 5001.

On the ansible host, run the following command to stop the services.

ansible-playbook -i inventory -K provisioning/services_stop.yaml

On the topology host, open the <install_directory>/netops-topology/neo4j/conf/neo4j.conf file and add the below to the bottom of the file:

server.discovery.listen_address=:5001
server.discovery.advertised_address=:5001

Save the file and then run the below command back on the ansible host to start the services.

ansible-playbook -i inventory -K provisioning/services_start.yaml