我在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
以绑定到所有接口。但我仍然无法通过该端口上的远程连接。防火墙已禁用。
答案 0 :(得分:5)
我回答了这个问题 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