Problem by connecting MS SQL from SuSE Linux
Hi all,
I installed the VMware on the host (Windows XP) and then installed a guest syste of SuSE Linux. I wrote a java program which just try to connect to the MS SQL database installed on the host. I ran this program successfully on host. But as I ran this program from on Linux, I got exception as follow. I've made an exception by firewall to let the 192.168.174.1:1433 go through. But it doesn't help. Seems it's not really a problem of firewall? Code:
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 192.168.174.1, port 1433 has failed. Error: No route to host. Please verify the connection properties and check that a SQL Server instance is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port. |
Quote:
Also, VMware networking can be challenging. Can you get to the internet via Linux? Post the output of "iptables -L", if the networking things I mentioned are all working... |
Quote:
I can connect to the Guest from Host using putty. I can open FireFox in Guest (Linux) and browse any internet. I haven't installed SELinux. What is that? The output of "iptables -L" looks as follow. But I wonder if I have to install the MS-SQL Client first? Code:
linux-upve:/home/thomas2004ch/temp # cd |
Taking TB0ne's qns
Quote:
|
I solved the problem now. It's a firewall issue. I set an xception in the Windows firewall for the Linux ip and it works.
|
All times are GMT -5. The time now is 11:07 PM. |