Telegraf ports with running multiple instances

I tested that it’s not related to any input plugins I’m using. But I found it’s coming when I use tcp for socket_writer. If I use udp the port does not come. The ports I get from the telegraf instances are different from the one I specified in the tcp output plugin. Does this make sense?