Requested Address Cannot Bind

Hi team,

When I am configuring property in the elasticsearch.yml ,my es is not starting and i am getting below exceptions

" Requested Address Cannot Bind."

When i am commenting that line it was working as expected, Here i need to connect it from remote access so i need to enable Can anyone help me whats going wrong here.

FYI, I am using Azure Environment. When i am giving internal IP instead of Public IP at the property its working. But using that i cannot get remote access. So please help me to get remote access of ES from the azure server.load

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.

You need to bind to the local port indeed.
Then change Azure network settings to expose it.

Note that without xpack security that might be a bad idea to expose your cluster on internet.

1 Like

Thanks for you Quick response David.

Sure I wont paste images.

Here for me the port is not the problem when i am giving my azure public IP at the , the elasticsearch is not at all starting.

Here is my YAML Configuration file my-application load
script.inline: on
#path.repo: "E:/Performance/work/my_backup"
thread_pool.bulk.size: 4
thread_pool.bulk.queue_size: 300

------------------------------------ Node ------------------------------------

Use a descriptive name for the node: node-1

Add custom attributes to the node:

#node.attr.rack: r1

----------------------------------- Paths ------------------------------------

Path to directory where to store the data (separate multiple locations by comma): /path/to/data

Path to log files:

#path.logs: /path/to/logs

----------------------------------- Memory -----------------------------------

Lock the memory on startup:

#bootstrap.memory_lock: true

Make sure that the heap size is set to about half the memory available

on the system and that the owner of the process is allowed to use this


Elasticsearch performs poorly when the system is swapping the memory.

---------------------------------- Network -----------------------------------

Set the bind address to a specific IP (IPv4 or IPv6):

Set a custom port for HTTP:

http.port: 9200

And this is happening in the Azure servers only.

As I am configuring it in my local Systems It was working as expected.

I meant local network card not local port.

yeah gotchaa..thnxx

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