I want to use IP address and not hostname for registration status value

76 views
Skip to first unread message

Richard Elsberry

unread,
Dec 11, 2019, 2:17:18 PM12/11/19
to eureka_netflix
Hello, I believe that I am getting a permissions error on my service client because the URL is being stored in Eureka is as a hostname. 


I've tried:
eureka.instance.preferIpAddress=true
eureka.instance.ip-address=127.0.0.1
eureka.instance.prefer-ip-address=true
eureka.shouldUseDns=false

None of these configurations change the entry to represent my computer's IP address. Eu
I removed Eureka from the process and call the service directly usering


which fails with a browser message "Ip address cannot be fount" If I use


It works fine. I'm using windows 10. Any suggestions would be greatly appreciated.
Reply all
Reply to author
Forward
0 new messages