Change default 443 port on clients

Hello,
we need to shift Mender services form the usual ports (particularly the 443) as they’re already occupied in our server environment.
No problem on the server side of the things, but we’re wondering how to instruct the client devices that they have to contact the server on, say, 5342 port instead of the usual 443.
We’re working with Yocto and meta-community layers.

Any help is very appreciated!

Regards,

For the client you can specify the server url in mender.conf using ordinary colon notation for port numbers (e.g. https://docker.mender.io:5342)

Thanks @alfrunes

2 Likes

Got it working!
Edited the main local.conf file like this:

MENDER_SERVER_URL = “https://my.domain.com:12345

Thanks!

2 Likes