0

I have two environments on jelastic 4.7. On one of them I have a Java Stack and a Redis server that need to be kept private without a public IP address. On the other environment, I have a Node.js Stack that have a Public IP.

So, Im searching the docs exhaustively and can't find the answer to the question.

Can I access the private IP and port of my Redis from the node app?? Every node on Jelastic has a local ip address. Can I access those between environments??

I think it's a simple question. I'm trying to avoid the overhead of creating a public IP Address for Redis.

Marcos Arruda
  • 553
  • 4
  • 3

1 Answers1

0

Can I access the private IP and port of my Redis from the node app?? Every node on Jelastic has a local ip address. Can I access those between environments??

Yes, you can connect to different nodes of different environments using just a local IP within one hosting provider or its regions (depends on providers setup). Also, you can use Endpoints in order to connect to local IPs of other providers or to the regions within one provider, if direct connection can't be established.

Besides that, you can use, for example, CNAME of database instead of a local IP.

Virtuozzo
  • 1,993
  • 1
  • 10
  • 13