当前位置:网站首页>In the multi network card environment, the service IP registered by Nacos is incorrect, resulting in inaccessible services
In the multi network card environment, the service IP registered by Nacos is incorrect, resulting in inaccessible services
2022-06-24 22:29:00 【follow_ me!】
problem :
Today, I suddenly encountered a service registered to nacos Service on ip It's a virtual machine ip, Cause service routing failure , Response timeout :
Solution :
1. The configuration file , stay yaml Add priority matching network in
spring:
cloud:
inetutils:
preferred-networks: 192.168.80
//id It can be written in full , Such as 192.168.80.144
2. stay idea Of VM options add to :
-Dspring.cloud.inetutils.preferred-networks=192.168.80
边栏推荐
- leetcode:515. 在每个树行中找最大值【无脑bfs】
- Binary search tree template
- Genesis公链与美国一众加密投资者齐聚Consensus 2022
- Junior college background, 2 years in Suning, 5 years in Ali. How can I get promoted quickly?
- leetcode:45. Jumping game II [classic greed]
- Cache control of HTTP
- Notes on writing questions (18) -- binary tree: common ancestor problem
- HTTP的缓存控制
- Huada 4a0gpio settings
- Creating files, recursively creating directories
猜你喜欢

A girl has been making hardware for ten years. 。。

HTTP的缓存控制

NiO zero copy

Flutter 如何使用在线转码工具将 JSON 转为 Model

NIO、BIO、AIO

Balanced binary search tree

How to automatically remove all . orig files in Mercurial working tree?

Genesis public chain and a group of encryption investors in the United States gathered in consensus 2022

Filtered data analysis

The ktp900f mobile download program of the fail safe mobile panel prompts that the download cannot be performed, and the target device is running or not in the transmission mode
随机推荐
Common voting governance in Dao
The profound meaning of unlimited ecological development in Poka -- Multidimensional Interpretation of parallel chain
磁盤的結構
进程的通信方式
第二批入围企业公示!年度TOP100智能网联供应商评选
Concurrency of heap memory allocation
ThreadLocal内存泄漏问题
Creating files, recursively creating directories
Embedded development: tips and tricks -- clean jump from boot loader to application code
img2pdf
NiO, bio, AIO
Relationnet++: a representation of fusion of multiple detection targets based on transformer | neurips 2020
New features of go1.18: efficient replication, new clone API for strings and bytes standard library
华大4A0GPIO设置
Information update on automatic control principle
Docker installs redis-5.0.12. Detailed steps
堆內存分配的並發問題
socket done
Detailed explanation of agency mode
Raspberry pie preliminary use