Score:0

How can I avoid port collision?

cn flag

everyone! I was recently assigned to a task.

There is a Client is running on linux servers for system and security monitoring. It's configuration can cause a port collision with our haproxy running on certain port due to implemented randomized port listening (security feature).

If this port is keep by accident by a client, haproxy is unable to start. Haproxy systemctl output does report a port in use exception. Issue can be resolved by rebooting server (or restarting the client by Linux admins).

My manager suggests that switching haproxy configuration to another port? What would you do in this position? And could I make changes in haproxy configration? Because I don't have much deeper knowladge about it.

David avatar
cn flag
What does this have to do with Ubuntu? If it foes what version is it?
Organic Marble avatar
us flag
Maybe ask on server fault?
user535733 avatar
cn flag
Can the monitor application be configured to use/not-use certain ports or port ranges? Or can you start haproxy before the monitoring application (systemd startup dependencies)?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.