New Member
Posts: 5
Registered: ‎03-04-2019

UNMS change listening ip address

[ Edited ]

Hello.

There are two network adapters on the server (eth0 and eth1). I need to transfer interaction with UNMS (web interface and communication with devices) from eth0 to eth1. I tried changing the ip address in Settings / UNMS and Settings / Devices-Ping, but this does not help. The server continues to listen TCP 443 at eth0 address.

Ubiquiti Employee
Posts: 3,429
Registered: ‎09-08-2017
Kudos: 1314
Solutions: 257

Re: UNMS change listening ip address

@makonrus  Hello Максим. UNMS should be listening on both eth interfaces. How are you testing that it only listens on eth0, please? Can you describe the methodology behind that so that we have a better picture of the situation? Also, do I understand properly that you need the UNMS server to only listen on eth1? 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

Highlighted
New Member
Posts: 5
Registered: ‎03-04-2019

Re: UNMS change listening ip address

[ Edited ]

Hello!

It's so easy to test.

From Windows CLI:

 

telnet eth0_ip_address 443

Succses

 

telnet eth1_ip_address 443

Fail

Ubiquiti Employee
Posts: 3,429
Registered: ‎09-08-2017
Kudos: 1314
Solutions: 257

Re: UNMS change listening ip address

@makonrus  Thank you for the info, Максим. Please SSH into your UNMS server and run this command

sudo netstat -tulpn | grep 443

We will need the output of that command to get a better picture of what is going on.

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

New Member
Posts: 5
Registered: ‎03-04-2019

Re: UNMS change listening ip address

tcp6 0 0 :::8443 :::* LISTEN 1833/java
tcp6 0 0 :::443 :::* LISTEN 2237/docker-proxy

Ubiquiti Employee
Posts: 3,429
Registered: ‎09-08-2017
Kudos: 1314
Solutions: 257

Re: UNMS change listening ip address

@makonrus  Hello Максим. The line tcp6 0 0 :::443 :::* LISTEN 2237/docker-proxy means that UNMS is listening on all interfaces on the port 443. The most likely reason why you are getting a failed result on command telnet eth1_ip_address 443 is that there is an issue on the way between a computer from which you are trying to connect and the UNMS server. Our guess is that your computer is in a different network than eth1 on the server and therefore it cannot connect there. 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

New Member
Posts: 5
Registered: ‎03-04-2019

Re: UNMS change listening ip address

Well. We need to go deeper.

Let's see what happens with wireshark.

(My comp -> target) SYN

(target -> My comp) PSH, ACK

(target -> My comp) FIN

This server also has a UniFi controller.

telnet eth1_ip_address 8443   ...   success!

There are no firewalls, ACLs, or any other services that filter packets

Ubiquiti Employee
Posts: 3,429
Registered: ‎09-08-2017
Kudos: 1314
Solutions: 257

Re: UNMS change listening ip address

@makonrus  Hello Максим. Thank you for the info. Can you please send me the file '/home/unms/app/docker-compose.yaml'? Be aware that file contains sensitive data and should be only transferred via a secure channel. Please, send it to the email radek.skrivan(at)ubnt.com, and include your forum name and URL of this thread in the message. 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

New Member
Posts: 5
Registered: ‎03-04-2019

Re: UNMS change listening ip address

[ Edited ]

Done!