• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to MS-SQL Server 2005 using IPv6 address

 
Sriraman Srinivasan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to establish jdbc connection to MS-SQL server using jdbc with IPv6 format address. However I am getting the below errors.


However when using local host I am able to connect to the database. When tried establishing connection with oracle db using ipv6 address, I am success ful. Kindly help me out.

Database: Ms-SQL Server 2005 SP3 Express Edition
OS: Windows 7 64-bit OS
IP format: IPv6
Driver: jtds-1.2

Have also tried using the latest jar provided by microsoft. With that also I am getting some errors.
Have already tried setting the jvm parameters:
-Djava.net.preferIPv4Stack=false
-Djava.net.preferIPv6Addresses=true

Any help is highly appreciated

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic