Openshift,它是否适用于相同设备的2个应用程序相互通信?

时间:2022-04-10 03:01:05

I have 2 services in the same gear in Openshift, my question is it even possible for these services to call each other, or even to call an external service, with no security problem or restriction, cause I got some errors?

我在Openshift中有两个相同档位的服务,我的问题是这些服务甚至可以相互呼叫,甚至可以调用外部服务,没有安全问题或限制,因为我遇到了一些错误?

1 个解决方案

#1


What do you mean by communication?

沟通是什么意思?

You always can establish communication via several ways:

您总是可以通过以下几种方式建立沟通:

  1. read/write from file

    从文件读/写

  2. read/write to socket, usually your apps running into 127.x.xxx.xxx:xxxx address space.
    For example, write wo 127.8.252.129:8010 socket from one app and read from another as it was on local machine.

    读取/写入套接字,通常是您的应用程序运行到127.x.xxx.xxx:xxxx地址空间。例如,从一个应用程序写入127.8.252.129:8010套接字,并从本地计算机上读取另一个应用程序。

  3. You can start outside communications via HTTP, ports for SIP closed for security reasons.

    您可以通过HTTP启动外部通信,出于安全原因关闭SIP端口。

#1


What do you mean by communication?

沟通是什么意思?

You always can establish communication via several ways:

您总是可以通过以下几种方式建立沟通:

  1. read/write from file

    从文件读/写

  2. read/write to socket, usually your apps running into 127.x.xxx.xxx:xxxx address space.
    For example, write wo 127.8.252.129:8010 socket from one app and read from another as it was on local machine.

    读取/写入套接字,通常是您的应用程序运行到127.x.xxx.xxx:xxxx地址空间。例如,从一个应用程序写入127.8.252.129:8010套接字,并从本地计算机上读取另一个应用程序。

  3. You can start outside communications via HTTP, ports for SIP closed for security reasons.

    您可以通过HTTP启动外部通信,出于安全原因关闭SIP端口。