How to get IP-Address of the database

Hi,
I need to get the IP address of the database (MSSQL7.0) , that connects to my application . There are two ways to be connected: via DSN(jdbc:odbc:dsnName) or directly (jdbc:odbc:host:port). How can I get (both cases) the IP address of server I connected to.
Cheers

Hi,
You could try connecting and then typing netstat -a at the DOS command prompt. This should show all open connections etc.
best,
kev

Similar Messages

  • How to get Chinese string in the database?

    Hi,
       My dear friends.
       I successfully connect the database, the data in the table as shown below
      When I try to get "小明", but the following results were obtained
    Does anyone know why, and how to get the correct result?
    Thank you.

    You need to be aware of character conversions. Look at WideString, it support UTF32 chars.

  • How to get IP address of the Managed Server, in a cluster?

    Hello,
    I have created a cluster and have two managed servers in it. WLS version is 10.3 and paltform is Windows. Both the managed servers are on different machines. And I have Sun one web server (version 6) configured instead of the WLS in-built web server. I want to display, in my JSP, the IP/host name of the managed server to which the request is going to (forwarded by the Sun one server). How do I do that?
    Any help would be greatly appreciated. Thanks in advace.
    Thanks,
    Sanjay

    There isint a way to get this which is weblogic specific.
    you can try the following code to get it
    import java.util.*;
    import java.lang.*;
    import java.net.*;
    public class GetOwnIP
    public static void main(String args[]) {
    try{
    InetAddress ownIP=InetAddress.getLocalHost();
    System.out.println("IP of my system is := "+ownIP.getHostAddress());
    System.out.println("hostname = " + ownIP.getHostName());
    }catch (Exception e){
    System.out.println("Exception caught ="+e.getMessage());
    Hope this works

  • How to get IP address of the client?

    Hi,
    I use the SAP Portal 6 SP2. I need to prevent user from accessing to iview depending of their IP. How can I get the IP of the users? What would the best practice in this case to personalize the iview depending of the IP?
    Thank you,
    Maria

    HI,
    Use the below without Proxy detection:
    <%
        String ipaddress = request.getRemoteAddr();
    %>
    with Proxy detection:
    <%
        if (request.getHeader("HTTP_X_FORWARDED_FOR") == null) {
            String ipaddress = request.getRemoteAddr();
        } else {
            String ipaddress = request.getHeader("HTTP_X_FORWARDED_FOR");
    %>
    Regards,
    Birla.

  • How to get Database name/IP address of the database server from forms10g

    Hi everybody,
    How do I get the database instance name and IP address of the database server?
    I am using Foms 10g and the database server is Oracle 10g.
    Sukanta

    Dear...........
    Plz use this code
    select SYS_CONTEXT('USERENV', 'IP_ADDRESS', 15) ipaddr from dual;
    SELECT utl_inaddr.get_host_address IP ,UTL_INADDR.get_host_name NAME FROM dual;
    select SYS_CONTEXT('USERENV', 'HOST') HELLO from dual;
    select SYS_CONTEXT('USERENV', 'TERMINAL') HELLO from dual;
    select SYS_CONTEXT('USERENV', 'OS_USER') HELLO from dual;
    SELECT SYS_CONTEXT ('USERENV', 'SESSION_USER') FROM DUAL;
    SELECT SYS_CONTEXT ('USERENV', 'DB_UNIQUE_NAME') FROM DUAL;
    thx.

  • I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?

    I have installed HP2035n. But when i try to open the embedded web server, i get the error "Firefox doesn't know how to open this address, because the protocol (fe80) isn't associated with any program." What is the possible solution?
    I typed in the IPv6 address of the printer in the address feild of firefox.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I am getting this error message when trying to get to a college webpage Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.

    I am trying to get to a college webpage for information and get this error message from firefox Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.
    == This happened ==
    Every time Firefox opened
    == whe trying to access webpage

    Is this coming from a link, or from something you are trying to type in the address bar?
    Try replacing the "html" at the start with "http",
    so if you have html://somesite.edu,
    change it to http://somesite.edu.

  • When trying to stream video I am getting this error message "Firefox doesn't know how to open this address, because the protocol (st) isn't associated with any program." How do I fix this?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/782039]</blockquote><br>
    When trying to stream video I am getting this error message "Firefox doesn't know how to open this address, because the protocol (st) isn't associated with any program." How do I fix this?

    Protocol error usually indicates that the very leftmost part of the URL is not recognized.
    So http://, ftp://, rtsp://, usually work.
    ableton:// would need to be added by some software somewhere...
    Can you get instructions from the vendor? Does these posts seem relevant:
    [http://forum.ableton.com/viewtopic.php?f=32&t=112368 Ableton Forum • View topic - [dds&#0093; Bug with Fireforx browser and downloading project?]
    [http://forum.ableton.com/viewtopic.php?f=32&t=109918 Ableton Forum • View topic - [gck&#0093; Problem downloading shared sets from Ableton server.].

  • I try to email or IM a link or comment on a website page and I get this error message: Firefox doesn't know how to open this address, because the protocol (ymsgr) isn't associated with any program.

    Firefox doesn't know how to open this address, because the protocol (ymsgr) isn't associated with any program. I try to email or IM a link or info on a web page I get this error message. How can I send an email or IM?

    Protocol error usually indicates that the very leftmost part of the URL is not recognized.
    So http://, ftp://, rtsp://, usually work.
    ableton:// would need to be added by some software somewhere...
    Can you get instructions from the vendor? Does these posts seem relevant:
    [http://forum.ableton.com/viewtopic.php?f=32&t=112368 Ableton Forum • View topic - [dds&#0093; Bug with Fireforx browser and downloading project?]
    [http://forum.ableton.com/viewtopic.php?f=32&t=109918 Ableton Forum • View topic - [gck&#0093; Problem downloading shared sets from Ableton server.].

  • When trying to go into itunes I get this message "Firefox doesn't know how to open this address, because the protocol (itmss) isn't associated with any program"

    When trying to log into itunes i get this message:
    Firefox doesn't know how to open this address, because the protocol (itmss) isn't associated with any program.
    I had to reset Firefox (due to slowness and shockwave error message that I kept getting). Itunes was downloaded after the reset, but I can't get into it? Any ideas?

    I ran into this same problem after Firefox auto-updated to v24! I'm on the Beta Channel and I had Firefox set to automatically update.
    What I did to correct the problem:
    1. Turned off all automatic updating.
    Options> Advanced> Update [tab]
    Firefox updates
    [x] Check for updates, but let me choose whether to install them
    [ ] (unchecked) Use a background service to install updates
    I also unchecked;
    [ ] Search Engines (I will turn this back on after I'm done with my experiment.)
    2. Googled 'Firefox v23 download', downloaded and installed: Firefox_Setup_23.0b1.exe (version 23, Beta 1)
    Since I reverted back to v23, I haven't had any problems.

  • I get keep getting this when I get emails ( dosen't know how to open this address because the protocal(blocked http) isn't associated with any program

    I get keep getting this when I get emails ( dosen't know how to open this address because the protocal(blocked http) isn't associated with any program

    That is the current AKO policy, see [/questions/747157]
    *http://usacac.army.mil/CAC2/MilitaryReview/EmailAnnouncementNotification.pdf

  • I am trying to get Firefox to open Vuze when I click on a magnet link, I get the following message: Firefox doesn't know how to open this address, because the protocol (magnet) isn't associated with any programme. tell me the solution

    when i try to open torrent using magnet, I get the following message. Firefox doesn't know how to open this address, because the protocol (magnet) isn't association to any programme.

    '''I had this problem and just re-installed Firefox. Problem solved. In my case I believe it was due to installing FlashGet. Though I uninstalled FlashGet, it had pre-empted the Magnet links / protocol. I hope this helps you with your instance. Happily I had the installer for my version of Firefox (7.0.1) saved and used that but you might need to search for your current version or install a later version'''

  • Have Spotfy, Facebook App on home computer, trying to open on laptop and get this ERROR CODE: Firefox doesn't know how to open this address, because the protocol (spotify) isn't associated with any program. How can I fix?

    I have used Spotfy Music App on Facebook on my home computer, now trying to use on laptop, and i get this ERROR CODE: Firefox doesn't know how to open this address, because the protocol (spotify) isn't associated with any program. How can I fix this? Thanks in advance for any help

    Hi,
    You may have to install the Spotify application on the laptop to get Spotify protocols recognized.

  • Getting this error message Firefox doesn't know how to open this address, because the protocol (ableton) isn't associated with any program

    Firefox doesn't know how to open this address, because the protocol (ableton) isn't associated with any program.
    I keep getting this message even though the ableton software was installed and authorized

    Protocol error usually indicates that the very leftmost part of the URL is not recognized.
    So http://, ftp://, rtsp://, usually work.
    ableton:// would need to be added by some software somewhere...
    Can you get instructions from the vendor? Does these posts seem relevant:
    [http://forum.ableton.com/viewtopic.php?f=32&t=112368 Ableton Forum • View topic - [dds&#0093; Bug with Fireforx browser and downloading project?]
    [http://forum.ableton.com/viewtopic.php?f=32&t=109918 Ableton Forum • View topic - [gck&#0093; Problem downloading shared sets from Ableton server.].

  • I downloaded Newest mozilla yesterday, adobe updated, and now when I click a YouTube video I get a box saying "Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program." and can't watch any videos?

    I downloaded the latest version of Mozilla Firefox yesterday, full and complete, and I am actually using it right now. The only problem I have had is upon clicking any YouTube video, the box pops up saying "Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program." But there are no directions or suggestions on how to address this problem. Ive looked at YouTube add-ons and none of them really seem related. Upon the finish of the new Mozilla, I also was prompted to upgrade the flash player, and did so without any trouble. I am only guessing this is an extension/plug-in problem. I really am quite confused!

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

Maybe you are looking for

  • Monitoring sound from HP Dreamcolor Z24x

    Hi,      I have recently purchased an HP Dreamcolor Z24x and would like to monitor sound from my Avid editing system while playing picture over the Dreamcolor.       Previously, I would play audio on my computer and monitor it via external speakers a

  • Help! Megastick 527- Windows available space errors!

    Hey everyone! I hope you guys can help me, i surely haven't seen a similar thread relating to this, so i guess this one's going to be a new problem ^_^;; Okay, things go like this: i bought my megastick 527 just four days ago, and everything seemed f

  • 5320 XM Radio issue

    Hi! I recently noticed that when playing radio on my 5320, the sound stops for a second or so. This happens once a minute or even more often and is very annoying. Before updating the software to version 04.13  I had'nt had this problem. Any ideas, pl

  • KPI Reports in BI - Help required

    Hi, I am having a requirement - KPI Report needs to show KPI target values. These data are neither stored in any transactional documents (such as Notification or Work Order) nor in any additional fields that can be used via customizing. This data is

  • Integration of BO and BI

    Hello All, I have sap  BI installed on server  A. Now I can access BI from my local machine. Now I installed BO edge series on my local machine and followed all the steps mentioned in Ingo Hilgefort 's blogs. when i logon to CMC using administrator I