Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to set in instance_host instead of localhost ? #66

Open
Rutik333 opened this issue May 12, 2022 · 2 comments
Open

What to set in instance_host instead of localhost ? #66

Rutik333 opened this issue May 12, 2022 · 2 comments

Comments

@Rutik333
Copy link

Right now in eureka configuration I set "instance_host":"localhost" but for scaling purpose I don't want to use localhost instead of that I give my hostname but it gives issue while i try to connect python service through Java service please help me to understand what is the use of instance_host and instance_ip and how to change it to hostname instead of localhost

@Rutik333 Rutik333 changed the title What to set instance_host instead of localhost ? What to set in instance_host instead of localhost ? May 12, 2022
@keijack
Copy link
Owner

keijack commented May 12, 2022

If you have a DNS deployed, you can set instance_host to that domain, otherwise, use instance_ip.

@Rutik333
Copy link
Author

Hi @keijack i don't have DNS deployed i tried to set instance_host with instance_ip ie. both are same to my server ip but after setting that one of my java service is communicating with that and other having issue with ssl eventhough i used same SSL and every configuration is also same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants