Access Elasticsearch with public IP


I have my Elasticsearch running on my windows 10 server. I want to access it with < my static public ip address >:9200

I can access my elasticsearch from the server with:

  • localhost:9200 <my ipv4 address from ipconfig>:9200

I can access my elasticsearch from the other device connected to same network as server:

  • <my ipv4 address from ipconfig>:9200

But i cannot access it with outside of network with:

  • <my static public ip address>:9200

My Elasticsearch.yml file is:
# Enable security features true true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
  enabled: true
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["DESKTOP-PAD6FDG"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication

Is your public IP also associated with an interface on the Elasticsearch host?

No...How do I check this??..

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