Code Monkey home page Code Monkey logo

Comments (5)

cf-gitbot avatar cf-gitbot commented on July 1, 2024

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.

TimHess avatar TimHess commented on July 1, 2024

Hi @yangzhiqing001,
There is not currently any support for that configuration in Steeltoe

from discovery.

dtillman avatar dtillman commented on July 1, 2024

@yangzhiqing001
Can you explain more on what you mean "I need to choose the network"?
Dave

from discovery.

yangzhiqing001 avatar yangzhiqing001 commented on July 1, 2024

@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.

TimHess avatar TimHess commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.