Open Closed

Docker inter communication with yarp #7691


User avatar
0
smansuri created
  • ABP Framework version: v8.2.1
  • UI Type: Angular / MVC
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated (for Angular)
  • Exception message and full stack trace:Resource temporarily unavailable or
  • Steps to reproduce the issue: deploy micro services in single vm and configure yarp with docker ip or container names

Hi im trying to configure yarp to configure intercomuunication of microservices hosted in single vm.

yarp example :
below is network bridge name "Administration": { "Destinations": { "Administration": {
"Address": "http://network-bridge:44367/", } } }

or below docker ip:

"Administration": { "Destinations": { "Administration": {
"Address": "http://172.17.0.1:44367/", } } }

or below with container name : "Administration": { "Destinations": { "Administration": {
"Address": "http://administrationsvc:44367/", } } }

ocelot.json used to work fine with containeranme as host path. nothing seems to be working. please suggest.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to create a new microservice project and check the builtin configuration files?

  • User Avatar
    0
    smansuri created

    i was able to figure out. but only one issue noticed that whatever port i expose, yarp only somehow works with port 8080 even if specify port 80 or 44367 it works only when i mentione port 8080 in yarp for some reason. any idea?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We are not familiar with yarp.

    Can you search the 8080 global? Maybe it is in some configuration.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09