Comments (5)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/155819523
The labels on this github issue will be updated when the story is started.
from discovery.
Hi @yangzhiqing001,
There is not currently any support for that configuration in Steeltoe
from discovery.
@yangzhiqing001
Can you explain more on what you mean "I need to choose the network"?
Dave
from discovery.
@TimHess @dtillman
I'm sorry, my reply is late,please look this
ifconfig -a
eth2 Link encap:Ethernet HWaddr 00:50:56:B3:7E:9B
inet addr:172.16.118.1 Bcast:172.16.118.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:feb3:7e9b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5279275 errors:0 dropped:0 overruns:0 frame:0
TX packets:4629500 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1793212014 (1.6 GiB) TX bytes:708143077 (675.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:22702 errors:0 dropped:0 overruns:0 frame:0
TX packets:22702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1271292 (1.2 MiB) TX bytes:1271292 (1.2 MiB)
this is my network config.
when i use this config register to the eureka server.
i found that the registered IP address is 127.0.0.1.i think thas is a wrong address
The IP address I need should be 172.16.118.1
from discovery.
You know what... Re-reading this, I think we already have an alternative to the preferredNetworks feature that should work for you today - you can change the registration method and set the address directly.
Use settings in the second table on this page: https://steeltoe.io/docs/steeltoe-discovery/#1-2-2-eureka-client-settings to register by hostname or IP address and to select the method to use
from discovery.
Related Issues (20)
- Service Registry URL not resolved in PCF Marketplace Service HOT 3
- What is the difference Pivotal.Discovery.ClientCore and Steeltoe.Discovery.ClientCore? HOT 3
- Eureka Cluster config is not working in the Steeltoe Discovery HOT 2
- Is it possible to override the steeltoe configuration(without appsetting.json)? HOT 2
- Error message in Eureka server dashboard HOT 3
- Does eureka:client:serviceUrl support multiple eureka servers in the config? HOT 3
- Proxy settings are unused HOT 5
- Suport simpleinjector IOC HOT 7
- how to register to multiple eureka server HOT 3
- Cannot evict service from eureka. HOT 4
- How to bind multiple Eureka addresses HOT 5
- Can we set the instanceId to the current IP address and port. HOT 4
- Registering with Eureka discovery server working, but renew failing. HOT 10
- Failing to fetch registry HOT 10
- How to generate random instance id? HOT 4
- AddDiscoveryClient Should also add DiscoveryHttpMessageHandler HOT 1
- Implement Spring Cloud Consul using PR #50 HOT 2
- Refactor the Discovery Health check from PR #44 HOT 2
- DoGetApplicationsAsync Failed HOT 2
- Host Name and IP Address not computing on Mac and Docker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discovery.