java - HTTP 前端服务器如何与 Websphere 通信

标签 java http web-applications websphere port

HTTP 前端服务器(远程)如何与 Websphere 通信?

我了解到安装在 HTTP 前端服务器中的 WAS 插件将根据 plugin-cfg.xml 设置将请求路由到 Websphere。

  1. 路由将基于 HTTP 协议(protocol)还是其他二进制协议(protocol)?

  2. 这种情况下对防火墙设置有何影响?应用程序服务器计算机上应保持哪些端口打开?

最佳答案

Will the routing be on HTTP protocol or some other binary protocol?

插件使用 HTTP/HTTPS 协议(protocol)与 WebSphere 进行通信。如果请求通过 https 发出,并且插件配置为使用 htts 与 WebSphere 进行通信(已将根 WebSphere 证书添加到可信签名者),则使用 HTTPS。

What are the implications on Firewall settings in this case?
What ports should be kept open on the application server machine?

生成 plugin-cfg.xml 后,您将看到对于每个服务器,该插件需要与以下片段进行通信:

<Server CloneID="s111111" LoadBalanceWeight="1" ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="custTestNode_server1" ServerIOTimeout="0" WaitForContinue="false">
     <Transport Hostname="server1" Port="9080" Protocol="http"/>
     <Transport Hostname="server1" Port="9443" Protocol="https">
        <Property Name="keyring" Value="/config/webserver1/plugin-key.kdb"/>
        <Property Name="stashfile" Value="/config/webserver1/plugin-key.sth"/>
     </Transport>
  </Server>

有一些端口(在本例中为 90809443)将用于与该服务器通信,需要在防火墙中打开。

关于java - HTTP 前端服务器如何与 Websphere 通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26182227/

相关文章:

java - gradle如何修复依赖关系

google-chrome - 浏览器在 HTTP 304 情况下返回错误内容

javascript - 跨页面加载跟踪子窗口

java - 从 Weblogic 9.x 上的 Spring 容器内访问 WAR 打包的类路径资源

java - 无法读取 Java Web 应用程序中的文件

java - RecyclerView 的动态部分标题使用当前日期时间

http - 使用 Warp 的惰性字节串流

javascript - 带有 json 参数的 Angular http 请求

java - 在无状态 Web 应用程序中是否有防止双重提交的技术?

java - 在 dropwizard 资源类中使用 jdbi sql 接口(interface)