about dbserver's ipaddress

  • Thread starter Thread starter fyitang
  • Start date Start date
F

fyitang

hi guys, how could i get the dbserver's ip address using a oracle
connection or a connetting string?
 
hi guys, how could i get the dbserver's ip address using a oracle
connection or a connetting string?

You can parse the connection string to extract the server, then you do
a DNS query to get the IP
 
You can parse the connection string to extract the server, then you do
a DNS query to get the IP

hi Machin, the oracle connection string is a string like this
"Datasource=testds;User Id=testid;Password=testpwd;", the datasource
field is just a oracle service name, how could query out the IP from
it? can you explain much more detail? thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top