Connecting to an oracle db from a servlet.  need help.

Hello!
I'm a noob in webprogramming but I am studing it for a month. So I have a trouble with jdbc.
I write a web application in Sun Studio Creator 2 IDE. There is an Oracle 11g database on my computer. The application has ajax jsp, which
sends asynchronous requests to a servlet. The servlet must open jdbc connection, process the request and send back the data. I got a
driver from oracle.com(ojdbc.jar) and import it to my project. But at first I thought to write a simple console program to connect jdbc. It
works good.
Here it is:
import java.net.*;
import java.io.*;
import java.util.*;
import oracle.jdbc.*;
import oracle.sql.* ;
import java.sql.* ;
public class getdata {
private static Connection conn;
private static Statement stmt;
private static ResultSet rset;
public static void initConnection()
try {   
System.out.println(" ");
System.out.print("Registering Oracle driver..........................");
DriverManager.registerDriver ( new oracle.jdbc.driver.OracleDriver());
System.out.println("Success");
System.out.print("Establishing database connection...................");
conn = DriverManager.getConnection("jdbc:oracle:thin:@Nobody:1521:glob", "sysman", "mypass" );
System.out.println("Success");
System.out.print("Creating statement object..........................");
stmt = conn.createStatement();
System.out.println("Success");
catch (SQLException e)
System.out.println("Failed!");
System.out.println("Failure reason: " + e);
public static void executeSQLQuery(String inSQL)
try
System.out.println("Trying to execute: \n" + inSQL);
System.out.print("Executing SQL select query.........................");
rset = stmt.executeQuery (inSQL);
System.out.println("Success");
System.out.println(" ");
while (rset.next())
System.out.println ("<cid>"+rset.getString(1)+"</cid>");
System.out.println ("<oemnumber>"+rset.getString(2)+"</oemnumber>");
System.out.println ("<rusdesc>"+rset.getString(3)+"</rusdesc>");
System.out.println ("<engdesc>"+rset.getString(4)+"</engdesc>");
System.out.println ("<unorignumber>"+rset.getString(5)+"</unorignumber>");
System.out.println ("<system>"+rset.getString(6)+"</system>");
rset.close();
stmt.close();
conn.close();
catch (SQLException e)
{ System.out.println("Failed!");
System.out.println("Failure reason: " + e);
public static void main(String[] args) throws IOException
initConnection();
executeSQLQuery("SELECT * FROM parts go");
Then I need to use this code in my servlet. But it stops on the string:
conn = DriverManager.getConnection("jdbc:oracle:thin:@Nobody:1521:glob", "sysman", "mypass" );
I don't know why. Can you help me? Thanks for any help. We have no forums qualified enough in our language. And this is my first
message to an english speaking site, so excuse me for mistakes. I hope I can write this program before our university session will start :-)

Sorry, yes.
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
try {   
System.out.println(" ");
System.out.print("Registering Oracle driver..........................");
//DriverManager.registerDriver ( new oracle.jdbc.driver.OracleDriver());
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("Success");
System.out.print("Establishing database connection...................");
conn = DriverManager.getConnection("jdbc:oracle:thin:@Nobody:1521:glob", "sysman", "mypass" );
System.out.println("Success");
System.out.print("Creating statement object..........................");
stmt = conn.createStatement();
System.out.println("Success");
catch (ClassNotFoundException a)
catch (SQLException e)
System.out.println("Failed!");
System.out.println("Failure reason: " + e);
}

Similar Messages

  • Connect to 10g oracle server from 9i client

    Hi All,
    Is it possible to connect to 10g oracle server from 9i client or Should i install 10g client on my machine?
    Regards,
    Seena

    Depend of what releases you are talking about.
    The client 9iR1 has never been supported against a 10gR2 server.
    Find out more in the metalink note : Client / Server / Interoperability Support Between Different Oracle Versions - 207303.1
    Nicolas.

  • Just bought new AirPort Extreme did everything on manual and light still flashing amber , it is connected to an Arris TM822 from optimum cable company , help please

    Just bought new AirPort Extreme did everything on manual and light still flashing amber , it is connected to an Arris TM822 from optimum cable company , help please

    Any luck with the suggestions mentioned by Bob Timmons?
    I am having pretty much the same issue.
    Got a new modem Arris SB6141 and a new Airport Extreme ME918LL/A. Activated with my ISP (Comcast). Worked with a savy tech who knew the modem and Airport Extreme. Ensured all items were correct from the ISP side.
    I follow the instructions as indicated for Airport Extreme by it fails to detect the internet and dns servers. Comcast suggested I call apple. Reading posts above I will:
    -Reset the airport extreme
    -Unplug the modem for 30min
    Airport Utility 6.3.4 (634.17)
    Airport Extreme ME918LL/A Firmware Version 7.7.3
    MBP - Yosemite Mid 2012
    Appreciate the assistance folks.

  • New iPad 3 will not charge from a mac. need help on that

    my new ipad 3 will not charge from a mac. need help why if any one knows? thk

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
     Cheers, Tom

  • Hello, I'm using the same apple id on my Ipad and Iphone, and anything i do and my ipad reflects on my iphone. if i download an app on my iphone it also downloads on my ipad. Can i stop this from happening. i need help. thank you.

    hello, I'm using the same apple id on my Ipad and Iphone, and anything i do and my ipad reflects on my iphone. if i download an app on my iphone it also downloads on my ipad. Can i stop this from happening. i need help. thank you.

    Yes, under the Settings for the store, you can turn off the auto download for purchases, that way if you purchase an app on another device it will not automatically download on that device.  You would need to do this on both your iPad and iPhone.

  • I just downloaded iTunes 11.0.3 on vista and it says iTunes could not connect to this iPod touch... Need help please

    I just downloaded iTunes 11.0.3 on vista and it says iTunes could not connect to this iPod touch... Need help please

    What is the exact wording of the error message?
    Try:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • My MBP didn't recognise my password, started it in safe mode, I can see my files, but I don't know what to do next, as the image of reset password isn't selectable. I just moved from PC. Need help please...

    My MBP didn't recognise my password, started it in safe mode, I can see my files, but I don't know what to do next, as the image of reset password isn't selectable. I just moved from PC. Need help please...

    Safe mode is not what you want in this case. Reboot to recovery mode - hold down cmd-R as the Mac reboots. Go past the language-selection screen, click the Utilities menu, then Terminal. Type:
    resetpassword
    Followed by the return key, and follow the prompts. Reboot normally when done.
    Matt

  • Connect on an oracle database from another computer

    hi all,
    i installed oracle database 10g express as well as sql developer on one of my laptop. Everything is ok as of the moment.
    Now, i want to access that oracle database from my another laptop. Is this possible? let me know what should i do in order to achieve this.
    thanks.

    user13169035 wrote:
    thanks for the help. basically here is the setup.
    i have 2 laptops. the first one has oracle 10g database express install and sql developer. i can query my database from here using sql developer.
    now, on my second one, i want to access the data from the database that i created from the first laptop. i want to access the data from the database from the first laptop using sql developer which i also installed on the 2nd laptop.
    i already tried the link from http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm but didnt work (or maybe i missed something important).
    What from the link did you try to follow? Did you try to follow the information in the link i posted, specifically ...
    "4.4 Making Oracle Database XE Server Available to Remote Clients"
    Once you have done that. You will need to know the IP or possible computer name of the computer on the network which is hosting the database (it would be easiest if the laptop with the database had a static IP assigned by your router, assuming this is a home setup, and you use that for your connection). You will need that information to create a new connection in SQLDeveloper on the laptop without the database installed.
    Aside from that you may have to deal with windoze firewall issues and the like, but that removes this from being an Oracle question, you should be able to use google to deal with any issues you encounter in that.

  • Connecting to remote oracle server from asp

    Hi All
    How can I access remote oracle server from asp?. I'm using the following connection string.
    " Provider=MS Remote;Remote Provider=MSDAORA;Data Source=XYZ;Remote Server=http://DBServersIP;User Id=id;Password=pw"
    Both the web server and DB server has oracle client. I can tnsping, connect using sql * plus from the webserver.
    But when I try to do simple connection & query , I get the following error.
    " Microsoft ADO/RDS(0x80072EFD)
    Internet Client Error: Cannot Connect to Server.
    All the permission settings are given correctly (after referring Microsoft & Oracle websites)
    Can someone throw some links or help.?
    Your replies much appreciated.
    Thank you
    Arum

    why do you have http://DBServersIP as the remote server?
    Your connection string should look like:
    "Driver={Microsoft ODBC for Oracle};Server=MY_SID;Uid=my_user;Pwd=my_pwd;"
    There are other variations, but none of them should include HTTP anywhere.

  • Connecting to 64bit Oracle 11g  from 32bit Client on Windows 7 64bit OS.

    Hi All,
    We have installed Oracle 11g 64 bit on a Windows 7 64 bit system. As we need to run some 32 bit application on the system, We installed 32 bit client and try to configured Local Net Service Name Configuration using Oracle Net Configuration Assistant and during test, it is unable to connect and giving the following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Best Regards
    Fred

    user13144834 wrote:
    Hi All,
    We have installed Oracle 11g 64 bit on a Windows 7 64 bit system. As we need to run some 32 bit application on the system, We installed 32 bit client and try to configured Local Net Service Name Configuration using Oracle Net Configuration Assistant and during test, it is unable to connect and giving the following error.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Best Regards
    Fred=================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
    Now, when you issue a connect, say like this:
    $> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
    $> export ORACLE_SID=fred
    $> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
    check executing instances to get the SID
    [oracle@vmlnx01 ~]$ ps -ef|rgrep pmon
    oracle    4236     1  0 10:30 ?        00:00:00 ora_pmon_vlnxora1
    oracle    4878  4854  0 10:42 pts/0    00:00:00 grep pmonset ORACLE_SID appropriately, and connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
    [oracle@vmlnx01 ~]$ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
    SQL> exit
    [oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
    [oracle@vmlnx01 ~]$ SQLPsqlplus scott/tigere
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name: Now set ORACLE_SID to null, and try to connect
    [oracle@vmlnx01 ~]$ export ORACLE_SID=
    [oracle@vmlnx01 ~]$ SQLsqlplus /scott/tiger
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-12162: TNS:net service name is incorrectly specified=====================================

  • Calling Oracle Reports from a servlet

    Hi
    I want use Oracle Reports to build reports
    and then call them from a servlet via a URL.
    How can i do this?
    Thanks
    Alexandre Baptista

    You can write a Java Stored Procedure that executes a Java
    Runtime object. This allows you to call an OS command. It's
    quite straightforward to do and you can find examples on this
    forum and on the AskTom site (among other places).
    With this Java built you ought (I haven't tried it myself) to be
    able to call run_product (or whatever the Reports runtime is
    these days) - providing it's on the same server as the
    database. I'm not sure whether you can use this java workaround
    to call OS commans on remote servers, although in principle I
    don't see why not.
    Try it and let the forum know how it works.
    HTH, APC

  • Connecting to SAP Oracle DB from External Oracle system

    Dear DB Gurus
    I have to connect the Oracle server on my desktop system to the Oracle Database of my SAP DEV System. Both the Oracle versions are Oracle 9i. However hard I try, I end up with either Oracle error ORA 12541 - No Listener or ORA 12154 : TNS could not resolve service name. I have checked and listener is running on both the servers. Even have started it through lsnrctl start.
    For reference, I am enclosing the respective file entries of bbot my server & SAP server.
    tnsnames.ora file at my server
    DEV.PIIL.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.XXX.X.XX)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DEV.WORLD)
    I presume that there might a problem with the domain name understanding as my machine is in domain A and the SAP Servers are out of domain or domain WORLD.
    The tnsnames.ora file of the SAP server says
    DEV.WORLD=
      (DESCRIPTION =
        (SDU = <sdu no.>)
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = <hostname>)
              (PORT = <port>)
        (CONNECT_DATA =
           (SID = DEV)
           (GLOBAL_NAME = DEV.WORLD)
    sqlnet. ora files  - at my server
    NAMES.DEFAULT_DOMAIN = piil.com
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    sqlnet. ora files  - at SAP server
    AUTOMATIC_IPC = ON
    TRACE_LEVEL_CLIENT = OFF
    NAMES.DEFAULT_DOMAIN = WORLD
    NAME.DEFAULT_ZONE = WORLD
    SQLNET.EXPIRE_TIME = 0
    TCP.NODELAY=YES
    listener.ora file at my server
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = lokeshsvr)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\ora92)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = OLG)
          (ORACLE_HOME = D:\oracle\ora92)
          (SID_NAME = OLG)
    listener.ora file at SAP server
    LISTENER =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = IPC)
              (KEY = DEV.WORLD)
            (ADDRESS=
              (PROTOCOL = IPC)
              (KEY = DEV)
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = <hostname>)
              (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SDU = <sduno>)
          (SID_NAME = DEV)
          (ORACLE_HOME = /oracle/DEV/920_64)
    Any kind of help would be appreciable
    Regards
    Lokesh Gupta

    The port number configuration was mismatched between my server and SAP Server due to which listener was not able to setup the connection.

  • How to insert data into database table from a servlet? Help please.

    From a servlet I want to insert a message with some servlet parameters into an oracle database table by writing 'insert into tablename'. How shall I write the sql statement?

    simple suppose u wanned to insert user name and password into table user_info then this is a simple example .....
    Best Regds
    bondzoro
    [email protected]
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class tester extends HttpServlet {
    Connection con = null;
    public void init(ServletConfig sc){
    super.int(sc);
    Class.forName("oracle.jdbc.driver.OracleDriver");
    public void service(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOE
    try {
    con=DriverManager.getConnection("jdbc:oracle:thin:@database_URL:1521:ORA8","username","pa
    String user = req.getParameter("username");
    String pass = req.getParameter("pass");
    PreparedStatement pst = con.prepareStatement("insert into user_info values(?,?)");
    pst.setString(1,user);
    pst.setString(2,pass);
    pst.executeQuery();
    pst.close();
    con.close();
    }catch(Exception _e){
    _e.printStackTrace(System.err);
    ~

  • HT4865 I just bought this ipad and cannot log out from icloud because i dont have the password.how can i log out from icloud?need help

    I just bought this ipad and cannot log out from icloud because i dont have the password.how can i log out from icloud?need help

    You need to return it to the seller and get your money back.  You cannot reset or use the device with another AppleID installed unless you know the password for that ID.
    If the device has been jailbroken, no one on here can give you any further help...the Terms of Use prohibit us from doing so.

  • Can't activate iPad after getting it from repair. Need help quick!

    I recently broke the screen of my iPad but the hardware was working very well. Today I got it back from the repair service I gave it to (not Apple store), and when I turn on the iPad, it tells me to activate the iPad using my Apple ID, I enter all my info correctly, but it doesn't unlock. Did they give me a wrong iPad, did I get scammed? Please I need help quickly since I will be leaving the town after 3 days. Thanks for any help

    Do you have the serial number of the iPad you purchased & sent in for repair? If so, look on the back/bottom of the iPad to see the serial number of the iPad you have. Does it match?
     Cheers, Tom

Maybe you are looking for

  • EWS JAVA API for availability is giving only 10 suggested times in a particular day

    I'm using EWS JAVA API for seeing the availability of contacts who had shared their calender with me. Here in the suggested timings, I can able to see only 10 suggested timings even though there can be more than 10 suggested slots.  I would like to c

  • Acceptable Quicktime formats?

    My Mac has Quicktime Pro, and I'm trying to encode a feature film length movie so that I can watch it on my iPod touch. So far, every encode has been rejected. Which formats does the Quicktime in the touch accept?

  • How to open rdf files...

    Hi, I need to open rdf files, please suggest me how to open rdf(Report definition files) files. we don't have oracle reporting tool. i have tried in oracle sites, but not able to get it. please guide me where to get oracle reporting software(6i,8i so

  • GETTING A GPF WHEN OPENING THE UNDO SCREEN IN PERFORMANCE ANALYZER(OFSA)

    제품 : OFSA_PA 작성날짜 : 2003-04-25 GETTING A GPF WHEN OPENING THE UNDO SCREEN IN PERFORMANCE ANALYZER(OFSA) ======================================================================== PURPOSE Problem Description 고객이 PA에서 Menu -> "Undo" 화면을 선택하면 무시닫기 에러(GPF)

  • NAT for Exchange Server

    Am I correct that I need to NAT a public address to the private address of my Windows server in order to have a fully functional Exchange server in-house? My ISP tells me I can give them the required information and they will switch from them providi