deepanmurugan
deepanmurugan

Reputation: 2113

How to find the server ip from a public website?

Is there any command to find out the server IP instead of load balancer IP or proxy IP for any website? Why can't we connect to few server IP directly. What config or setting is blocking us to connect using IP and what is the need of disabling this feature?

Upvotes: 0

Views: 59

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269826

Best-practice for both security and load balancing is typically:

  • Expose the Load Balancer to the Internet
  • Put servers behind a firewall so that they are not directly accessible
  • Configure the Load Balancer to send traffic to the servers

The benefits are:

  • Minimum surface area exposed to the Internet (limits potential security problems)
  • Allows servers to be added/removed without impacting end users since they all connect via the Load Balancer (but the Load Balancer will need to know when servers are being added/removed)
  • Ensures that requests are balanced between the servers rather than allowing end users to directly access a server

Upvotes: 1

Related Questions