gpt4 book ai didi

ibm-mq - 为什么 MQ Websphere 队列管理器开始通过 TCP6 监听

转载 作者:行者123 更新时间:2023-12-01 23:41:03 25 4
gpt4 key购买 nike

如标题所述。我有 IPADDR 配置为 (IPV4) 的队列管理器。但是,每当我在该队列管理器上启动监听器时,它都会通过 TCP6 进行监听。

WebSphere 版本:7.5

最佳答案

请注意 Migrating a queue manager to IPv6 上的文档页面指​​出:

The preferred IP version that two systems use for communicating (if both IPv4 and IPv6 are available) is determined by a new queue manager attribute IPADDRV. This parameter only has an effect if the hostname resolves ambiguously to both an IPv4 address and an IPv6 address.

(强调已添加。)请注意,其效果取决于解析 DNS 名称的参数将主要应用于出站 连接。

你要的是DEFINE LISTENERIPADDR参数命令指出:

IP address for the listener specified in IPv4 dotted decimal, IPv6 hexadecimal notation, or alphanumeric host name form. If you do not specify a value for this parameter, the listener listens on all configured IPv4 and IPv6 stacks.

这是 IPADDRV 指南中有关将名称解析应用于出站连接的异常(exception)情况。如果您将 DNS 名称放入监听器的 IPADDR 中,则监听器将使用该名称解析到的 IP 版本地址,或者如果它解析为 IPV4 和 IPV6 将采用在中设置的版本IPADDRV.

由于您将 IPADDRV 报告为无效,因此监听器要么绑定(bind)到 IPV6 地址或 DNS 名称,要么监听器未绑定(bind)到任何特定地址,而是在所有接口(interface)上混杂地监听.

关于ibm-mq - 为什么 MQ Websphere 队列管理器开始通过 TCP6 监听,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39851947/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com