Mic*_*lub 2 firebird2.5 xinetd
我在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绑定到所有接口.但我仍然无法通过该端口上的远程连接.防火墙已禁用.
小智 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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4632 次 |
| 最近记录: |