Can I modify the meshagent file to enable meshagent to use a specified port, such as 12345? #6635
Unanswered
billydu1980
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear All:
We noticed that the occupied port changes every time the meshagent service is restarted., can I modify the meshagent file to enable meshagent.service to use a specified port, such as 12345?
please take a look at this screenshot,the local port of meshagent jumps from 50842 to 53292:
lsof -i -P -n | grep meshagent
meshagent 2436 root 13u IPv4 50842 0t0 TCP 172.16.66.146:40943->172.16.66.94:443 (ESTABLISHED)
meshagent 2436 root 16u IPv4 51986 0t0 UDP *:33660
systemctl restart meshagent.service
lsof -i -P -n | grep meshagent
meshagent 2807 root 13u IPv4 53292 0t0 TCP 172.16.66.146:37365->172.16.66.94:443 (ESTABLISHED)
meshagent 2807 root 16u IPv4 53383 0t0 UDP *:45669
I was trying to modify the/lib/systemd/system/IPCagent.service file by adding -- port=12345 at the end of ExecutStart=/usr/local/mesh_stervices. But it didn't take effect.
Thanks for your reply!
Billy duu
Beta Was this translation helpful? Give feedback.
All reactions