Firedac TFDEventAlerter 和 Firebird 4.0
我正在尝试使用 Delphi 10.4 中的 Firedac TFDEventAlerter 来处理 Firebird 4.0 数据库的事件。这可能吗?
在 Firebird 2.5 中一切正常,但与 Firebird 4.0 结合使用的相同代码不会响应 post_event()。
我还没有尝试过Firebird 3.0。我使用 fbClient 4.0.1.2692
我将客户端应用程序复制到运行 Firebird4.0 的服务器,并且可以正常工作(!)。事件是否使用不同的端口? 我想,如果客户端能够连接到数据库那就足够了。
正如 Arioch 所建议的,我查看了 firebird.conf,并看到以下内容:
# The TCP Port Number to be used for server Event Notification
# messages.The value of 0 (Zero) means that the server will choose
# a port number randomly.
#
# Per-connection configurable.
#
# Type: integer
#
#RemoteAuxPort = 0
因此,我想,我必须选择一个固定端口,并在防火墙中打开它。
I am trying to use the Firedac TFDEventAlerter in Delphi 10.4 to handle the events of a Firebird 4.0 database. Is that possible?
With Firebird 2.5 it all works fine, but the same code in combination with Firebird 4.0 does not respond to the post_event().
I have not tried it with Firebird 3.0. I use fbClient 4.0.1.2692
I copied the client application to the server where Firebird4.0 is running, and that works (!). Is it so that the events are using a different port?
I thought, if the client can connect to the database that should be enough.
As Arioch suggested, I took a look at firebird.conf, and see the following:
# The TCP Port Number to be used for server Event Notification
# messages.The value of 0 (Zero) means that the server will choose
# a port number randomly.
#
# Per-connection configurable.
#
# Type: integer
#
#RemoteAuxPort = 0
So, I suppose, I have to choose a fixed port, and open it in the firewall.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如OP 在其他地方发布的:
As the OP posted elsewhere: