{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/360","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/360/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/360/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/360","id":80711525,"number":360,"title":"Eureka client defaults to http://localhost:8761/eureka/apps/ when project parent is not spring-cloud-starter-parent","user":{"login":"bagerman","id":6977580,"avatar_url":"https://avatars.githubusercontent.com/u/6977580?v=3","gravatar_id":"","url":"https://api.github.com/users/bagerman","html_url":"https://github.com/bagerman","followers_url":"https://api.github.com/users/bagerman/followers","following_url":"https://api.github.com/users/bagerman/following{/other_user}","gists_url":"https://api.github.com/users/bagerman/gists{/gist_id}","starred_url":"https://api.github.com/users/bagerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagerman/subscriptions","organizations_url":"https://api.github.com/users/bagerman/orgs","repos_url":"https://api.github.com/users/bagerman/repos","events_url":"https://api.github.com/users/bagerman/events{/privacy}","received_events_url":"https://api.github.com/users/bagerman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-25T23:53:42Z","updated_at":"2015-05-26T15:30:34Z","closed_at":null,"body":"I am trying to make my existing services cloud aware by adding spring-cloud-starter-eureka dependency to my pom.xml file. I added `<dependencyManagement/>` for spring-cloud-starter-parent but can not make my service recognize non-localhost located eureka server. \r\n\r\nMy services run as a war in tomcat and tried everything from setting in my application.yml:\r\n\r\n```\r\neureka:\r\n  client:\r\n    serviceUrl:\r\n      defaultZone: http://XXiXX:8080/registry/eureka/\r\n```\r\n\r\n to setting in my catalina.properties: `eureka.client.serviceUrl.defaultZone=http://XXiXX:8080/registry/eureka/`\r\n\r\nto no avail.\r\n\r\nWhat can be wrong with my setup?"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/105568697","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/360#issuecomment-105568697","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/360","id":105568697,"user":{"login":"spencergibb","id":594085,"avatar_url":"https://avatars.githubusercontent.com/u/594085?v=3","gravatar_id":"","url":"https://api.github.com/users/spencergibb","html_url":"https://github.com/spencergibb","followers_url":"https://api.github.com/users/spencergibb/followers","following_url":"https://api.github.com/users/spencergibb/following{/other_user}","gists_url":"https://api.github.com/users/spencergibb/gists{/gist_id}","starred_url":"https://api.github.com/users/spencergibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencergibb/subscriptions","organizations_url":"https://api.github.com/users/spencergibb/orgs","repos_url":"https://api.github.com/users/spencergibb/repos","events_url":"https://api.github.com/users/spencergibb/events{/privacy}","received_events_url":"https://api.github.com/users/spencergibb/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T15:30:34Z","updated_at":"2015-05-26T15:30:34Z","body":"Why do you have `eureka.client.serviceUrl.defaultZone: ${EUREKA_SERVICE_URL:http://localhost:8761}/eureka/`?"}}