当前位置:网站首页>调用Feign接口时指定ip
调用Feign接口时指定ip
2022-06-24 06:47:00 【绅士jiejie】
正常使用Feign都会设置服务名,然后会根据一定的负载均衡策略调用服务,如轮询,权重等,但是怎么在调用Feign接口时,固定访问一个地址,通过配置url参数即可,如下:
@FeignClient(name ="a", url = "http://x.x.x.x:8080")
边栏推荐
- 运行npm run eject报错解决方法
- Deploy L2TP in VPN (Part 2)
- 免费ICP域名备案查接口
- Mysql database recovery case sharing
- Global and Chinese market of digital fryer 2022-2028: Research Report on technology, participants, trends, market size and share
- LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路
- 面试中的最常被问到的两种锁
- 洛谷 P1051 谁拿了最多奖学金
- 2.1.1 QML grammar foundation I
- Wechat cloud hosting hot issues Q & A
猜你喜欢
LeetCode 207:课程表(拓扑排序判断是否成环)
exness:鲍威尔坚持抗通胀承诺,指出衰退是可能的
【NILM】非入侵式负荷分解模块nilmtk安装教程
Oracle-高级SQL限定查询
Free ICP domain name filing interface
[vulhub shooting range]] ZABBIX SQL injection (cve-2016-10134) vulnerability recurrence
Hongmeng OS development III
屏幕截图推荐—Snipaste
Shader 常用函数
LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路
随机推荐
Global and Chinese market of basketball uniforms 2022-2028: Research Report on technology, participants, trends, market size and share
屏幕截图推荐—Snipaste
Detailed explanation of PHP data serialization test example
Étalonnage de la caméra (objectif et principe d'étalonnage)
Exploration on Optimization of elastic expansion engineering
MySQL case: analysis of full-text indexing
The two most frequently asked locks in the interview
Extend ado Net to realize object-oriented CRUD (.Net core/framework)
UE常用控制臺命令
GPU is not used when the code is running
Hongmeng development IV
Deploy L2TP in VPN (Part 2)
Oracle-高级SQL限定查询
爬虫基础B1——Scrapy(B站学习笔记)
Alibaba cloud full link data governance
2022年PMP项目管理考试敏捷知识点(1)
How VPN works
【Django中运行scrapy框架,并将数据存入数据库】
C escape character
LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路