2

我已经在 Ubuntu (13.10) 上安装了 Firebird Classic,我需要将它打开以进行远程连接。端口 3050 上的 netstat -an 显示:

tcp 0 0 127.0.0.1:3050 0.0.0.0:* LISTEN

我尝试编辑/etc/xinet.d/firebird25以收听 eth0 上的所有内容,我尝试编辑firebird.conf以绑定到所有接口。但我仍然无法通过该端口上的远程连接。防火墙被禁用。

4

1 回答 1

6

我在 https://askubuntu.com/questions/373090/ubuntu-server-13-10-and-firebird-2-5中回答了这个问题

从全新安装:

sudo su
apt-get install xinetd
apt-get install python-software-properties
add-apt-repository ppa:mapopa
apt-get update
apt-get install firebird2.5-classic                 
netstat -an | grep 3050  #shows the problem: not binding to  0.0.0.0
nano /etc/firebird/2.5/firebird.conf
#comment out all RemoteBindAddress = XXXX
nano  /etc/xinetd.d/firebird25
#set  bind                    = 0.0.0.0
/etc/init.d/xinetd restart
dpkg-reconfigure firebird2.5-classic
netstat -an | grep 3050  #shows the fixed as binding to 0.0.0.0
于 2015-02-19T13:30:23.143 回答