Connecting Sql to remote server

  • Hi,

    I have a Java application that gains access to a SQL database using:

    where abcd is server name and xyz is database name,my application & database are on different servers,now the problem i am facing is that if try to connect database using ip adress of that server it wont get connected but if i put the name of the server i.e abcd it gets connected but i need to get to connected by ip address can any one help on this.

  • if try to connect database using ip adress of that server it wont get connected but if i put the name of the server i.e abcd it gets connected but i need to get to connected by ip address can any one help on this.

    Use port number as well.

  • its already done but not working

  • Ping with server name.

    See whether it returns same IP address.

  • yes i am getting reply from same address

  • Is browser service started?

    MJ

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply