[resolved the problem] Problem with reservation system with jicofo

Hi,
I am trying to create an endpoint with which the reservation will communicate. Unfortunately, when I create a new room, an error pops up:

jicofo_1 | Jicofo 2020-07-09 10:41:52.231 SEVERE: [69] org.jitsi.impl.reservation.rest.RESTReservations.log() org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
jicofo_1 | org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
jicofo_1 | at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)
jicofo_1 | at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
jicofo_1 | at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
jicofo_1 | at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
jicofo_1 | at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
jicofo_1 | at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
jicofo_1 | at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
jicofo_1 | at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
jicofo_1 | at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
jicofo_1 | at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
jicofo_1 | at org.jitsi.impl.reservation.rest.ApiHandler.createNewConference(ApiHandler.java:130)
jicofo_1 | at org.jitsi.impl.reservation.rest.RESTReservations.createConference(RESTReservations.java:141)
jicofo_1 | at org.jitsi.jicofo.xmpp.FocusComponent.processExtensions(FocusComponent.java:374)
jicofo_1 | at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:410)
jicofo_1 | at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:254)
jicofo_1 | at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
jicofo_1 | at org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
jicofo_1 | at org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
jicofo_1 | at org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
jicofo_1 | at org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
jicofo_1 | at org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
jicofo_1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jicofo_1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jicofo_1 | at java.lang.Thread.run(Thread.java:748)
jicofo_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused)
jicofo_1 | at java.net.PlainSocketImpl.socketConnect(Native Method)
jicofo_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
jicofo_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
jicofo_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
jicofo_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
jicofo_1 | at java.net.Socket.connect(Socket.java:607)
jicofo_1 | at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
jicofo_1 | at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
jicofo_1 | … 23 more

the only configuration I have made is:
JICOFO_RESERVATION_REST_BASE_URL=http://localhost:8080

delete .jitsi-meet-cfg, restart docker-compose and my url is set in file sip-communicator.properties:
org.jitsi.impl.reservation.rest.BASE_URL=http://localhost:8080

i need help. Thanks.

I must build new container with my application and connect with this same network what working container with jicofo itp. Next i use container name my app, here

Base URL of Jicofo’s reservation REST API

JICOFO_RESERVATION_REST_BASE_URL=http://api:8080

api -> name container with my app.