我正在尝试在 google cloud run 上部署 SMTP 服务器,到目前为止我还不知道如何将 TCP/UDP 负载均衡器连接到后端。
有没有办法让我的 Cloud Run 应用程序公开监听端口 25?
我正在尝试在 google cloud run 上部署 SMTP 服务器,到目前为止我还不知道如何将 TCP/UDP 负载均衡器连接到后端。
有没有办法让我的 Cloud Run 应用程序公开监听端口 25?
我最近将 sphinx 移动到与我们的数据库相同的服务器上,所以我们的架构是:
当我尝试连接到 sphinx 时,ip.to.db.server
出现以下错误:
Sphinx response connection to ip.to.db.server:9312 failed (errno=113, msg=No route to host)
为了让我的网络应用程序可以访问端口 9312,我需要做些什么特别的事情吗?
当前TCP
端口LISTEN
:
tcp 0 0 0.0.0.0:9306 0.0.0.0:* LISTEN 23496/searchd
tcp 0 0 0.0.0.0:9312 0.0.0.0:* LISTEN 23496/searchd
输出iptables -L
:
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh /* SSH */
ACCEPT tcp -- anywhere anywhere tcp dpt:lmsocialserver /* monit */
ACCEPT tcp -- anywhere anywhere tcp dpt:https /* HTTPS */
ACCEPT tcp -- anywhere anywhere tcp dpt:webcache /* HTTPProxy */
ACCEPT tcp -- anywhere anywhere tcp dpt:http /* HTTP */
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql /* MySQL */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- ipremoved_by_poster anywhere /* Rackspace monitoring */
ACCEPT all -- anywhere anywhere /* localhost */
ACCEPT icmp -- anywhere anywhere icmp any /* ping */
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
到目前为止,我已经做了很多搜索,但没有运气。任何帮助深表感谢。
乙