as already mentioned the connection is not leaving the server. but you should try to avoid using the http request for performance/design/... reasons. when the source is in the same app/webserver, you should access it directly without doing the detour over http.
To be sure the internal request won't appear on the network, you can bind both the internal source's listener socket and the server's client socket to 127.0.0.1.
as already mentioned the connection is not leaving the server. but you should try to avoid using the http request for performance/design/... reasons. when the source is in the same app/webserver, you should access it directly without doing the detour over http.
It is completely acceptable. Things like edge-side includes, webhooks, and Deliverance encourage using http for integration.
To be sure the internal request won't appear on the network, you can bind both the internal source's listener socket and the server's client socket to
127.0.0.1
.如果请求是从同一台机器发起到同一台机器的,它不会离开它,会在本地处理。换句话说,不可能从外部窥探它。
如果服务器已将套接字绑定到本地网络接口,那么这应该很容易。