Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Why my service registed host is localhost.localdomain? #17

Closed
lc273734858 opened this issue Oct 17, 2017 · 4 comments
Closed

Why my service registed host is localhost.localdomain? #17

lc273734858 opened this issue Oct 17, 2017 · 4 comments
Labels

Comments

@lc273734858
Copy link

lc273734858 commented Oct 17, 2017

my appsetting.json
{
"spring": {
"application": {
"name": "ServiceNetCore"
}
},
"eureka": {
"client": {
"serviceUrl": "http://192.168.134.192:8761/eureka/",
"shouldFetchRegistry": false
,"shouldRegisterWithEureka":true
//"validate_certificates": false
},
"instance": {
"hostName":"192.168.1.125",
"port": 5001,
"preferIpAddress":true
}
},
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Information",
"Pivotal": "Debug",
"Steeltoe": "Debug"
}
}
}

but the registed adress is localhost.localdomain

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/152036308

The labels on this github issue will be updated when the story is started.

@lc273734858 lc273734858 changed the title Why my Service Regist Host Why my Service Regist Host is localhost.localdomain Oct 17, 2017
@lc273734858
Copy link
Author

I used netcore2.0 and publish my application to CentOS7.0

@lc273734858 lc273734858 changed the title Why my Service Regist Host is localhost.localdomain Why my service registed host is localhost.localdomain? Oct 18, 2017
@dtillman
Copy link
Contributor

What version of Steeltoe are you using? (1.0.0 or 1.1.0)?
Dave

@dtillman
Copy link
Contributor

Feel free to reopen a new issue you still need help!

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

No branches or pull requests

3 participants