After changing port number in Elasticsearch.yml file its get Failed to start Elasticsearch

but still i'm getting error after changing port number

failed to load elasticsearch nodes : org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{w6EBzOANTCOj7GCaIM6xIw}{localhost}{127.0.0.1:9300}]

and do u have any idea on below issue

Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "spring_session_attributes_pk"