# Transport.publish\_address warning

**URL:** <https://discuss.elastic.co/t/transport-publish-address-warning/233914>\
**Category:** Elasticsearch\
**Created:** [May 22, 2020, 2:12pm UTC](https://discuss.elastic.co/t/transport-publish-address-warning/233914 "2020-05-22T14:12:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irishwill2008](https://avatars.discourse-cdn.com/v4/letter/i/eb9ed0/32.png) [@irishwill2008](https://discuss.elastic.co/u/irishwill2008)\
**Post date:** [May 22, 2020, 2:12pm UTC](https://discuss.elastic.co/t/transport-publish-address-warning/233914/1 "2020-05-22T14:12:49Z")

</div>

Hey lads,

I am looking through ElasticSearch Logs and inside: elasticsearch\_deprecation.log i see loads of records populating with the following warning:

`transport.publish_address was printed as [ip:port] instead of [hostname/ip:port]. This format is deprecated and will change to [hostname/ip:port] in a future version. Use -Des.transport.cname_in_publish_address=true to enforce non-deprecated formatting`

I have Elastic Stack installed on windows as a windows service.  
I navigated to: C:\elastic-stack\elasticsearch-7.7.0\config\jvm.options

I tried adding:  
` #Disable This format is deprecated and will change to [hostname/ip:port] error -Des.transport.cname_in_publish_address=true`

Save file and restart ES service... But i still get these warnings populating?

I am using the latest version for my Elastic Stack - 7.7

Any help muchly appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 19, 2020, 2:12pm UTC](https://discuss.elastic.co/t/transport-publish-address-warning/233914/2 "2020-06-19T14:12:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
