Merhaba, Java ile MsSql işlemleri yapmak istiyorum fakat şu hatayı alıyorum:
Calıştırmak istediğim kod:
Kod:Panoya kopyala
package deneme; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; public class deneme catch (SQLException e) finally catch (SQLException e) } } }


Aldığım hata:
Kod:Panoya kopyala
Bağlantı hatası: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

Sql server configuration da tcp/ip aktif ettim ve guvenlik duvarı kapalı.
Yardımcı olabilirseniz cok sevinirim iyi forumlar.