Changing connection string host from localhost to IP address produces error

Hi all,
First of all, thanks in advance for your help. Second, I know next to nothing about Oracle database administration, so please be patient, but I want to understand things, rather than just running down the Google rabbit hole with guess-and-check until things happen to work and I don't know why.
I've got a connection string that I'm using to connect to a local Oracle database I'm using for testing. I have the 11g installed and the 11.1.0.7 64-bit client (as my application is a 64-bit application) installed, both locally on my development machine. I've got a connection working using the following connection string:
Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = mywindowslogin.path.to.me)));User Id=********;Password=********;However, when I change "localhost" to my IP address, my computer name, or anything else, I get "ORA-12541: TNS:no listener".
The tnsnames.ora in my database home is as follows - it was set up for me automatically when I installed the database. mywindowslogin.path.to.me doesn't point to anywhere, which I assume is correct, but my computer is on the path.to.me domain.
LISTENER_MYWINDOWSLOGIN =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
MYWINDOWSLOGIN =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = mywindowslogin.path.to.me)
  )How can I resolve this issue?
Edited by: Don on Jul 14, 2010 8:31 AM

Does setting the environment variable affect all installations? Only two of my four Oracle Homes have a tnsnames.ora file, or event a NETWORK/ADMIN location, so I'm not sure where to put tnsnames.ora in those Homes. I copied the tnsnames.ora for my database to the one other Home that had a NETWORK/ADMIN location, but I'm still getting "ORA-12541: TNS:no listener" if I don't use "localhost" as the host.
Thanks!
Edited by: Don on Jul 14, 2010 12:08 PM

Similar Messages

  • HT202667 I did not do my research before changing my Apple ID from an outdated email address to a current one. I just changed and verified and though I was all set. WRONG! Now I cannot sign in to iCloud because it will not let me enter the new Apple ID! H

    I did not do my research before changing my Apple ID from an outdated email address to a current one. I just changed and verified and though I was all set. WRONG! Now I cannot sign in to iCloud because it will not let me enter the new Apple ID. I read the 10/30/13 randers4 post to just change your Apple ID back then sign in and change it to the new email address again and then you can sign in, but I cannot change back to the prior email address Apple ID because that is no longer an active email account (or at least not mine). Any thoughts on how to get signed into iCloud when it does not allow me to type in the new Apple ID and the old Apple ID no longer exists.
    I see that many people have asked, but no one has come up with a solution that I found.
    Thanks for any help!

    This did not work for me.  My old email account for iCloud still pops up on my screen every time I open my macbook.  I've deleted it, reset it, every thing I can think of and it still shows up.  I think six months of this is more than enough time to wait.
    RDG

  • Problem with Connection Manager. Can't change connection string / Server name

    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin-top:0cm;margin-right:0cm;margin-bottom:10.0pt;margin-left:0cm;line-height:115%;font-size:11.0pt;font-family:'Calibri','sans-serif';}
    .MsoChpDefault
    {font-size:10.0pt;}
    .MsoPapDefault
    {line-height:115%;}
    @page Section1
    {size:612.0pt 792.0pt;margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.Section1
    {page:Section1;}
    Hi,
    I have copied a number of SSID packages from a live server to my test server and am trying to get them up and running but I have a problem with the connection. The only thing that is different is the server name. I decided to keep the same connection in the connection manager as it is referenced in a dtsConfig file. I changed the dtsConfig file to reference the new servername [Data Source= new test server name]. I also check my paths and they are pointing to the correct config locations etc.
    I found this post which was similar to my problem but I still get problems with the connection
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1319961&SiteID=1
    I updated the connection by changing the server name in the actual connection. I did this from the data flow tab in the Connection Managers sections (MS Visual Studio). Right clicked - Edit - changed the name of the server name to my test server and selected the database. Test connection was fine, and saved this.
    Once I saved this, the connection string changed to my current test server in the properties of the connection. However when I run the package I get the following error:
    Error: 0xC0202009 at ReportsImport, Connection manager "myconnectionstring": SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Login timeout expired".
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Named Pipes Provider: Could not open a connection to SQL Server [53]. ".
    Error: 0xC020801C at Myprocess import from file, BuyAtReportsImport [79]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "myconnectionstring" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error: 0xC0047017 at Myprocess import from file, DTS.Pipeline: component "ReportsImport" (79) failed validation and returned error code 0xC020801C.
    Error: 0xC004700C at Myprocess import from file, DTS.Pipeline: One or more component failed validation.
    Error: 0xC0024107 at Myprocess import from file: There were errors during task validation.
    So even if I change the existing connection properties and save and Build my package again, my connection properties (connectionstring, servername etc) all revert back to its original data source when I re-open the package. Simply it does not seem to be saving the connection properties i put in.
    What am I doing wrong or how can I change the existing connection manager to look at the new server. The database is  the same and I have full admin privilege on the server.
    I don't want to recreate my packages as there are alot and they are not simple.
    After changing the connection properties, saving and reloading I get a connection error. But this is because it is not retaining the new connection manger setting i entered.
    Incidentally - I created a new SSID to perform a simple connection and write to the the server and it was OK so there is no problem with actually seeing the my test server.
    Thanks in advance

    Yes, the package is in visual studio and I have executed it. There are no errors but in the output i have the error message about my connection. My dtsConfig file is added to the project in the 'Package Configuration Organizer' and path and files are correct. This is the output error:
    Error: 0xC020801C at xx import from file, xxReportsImport [79]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "myconnectionname" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    I will try and run it using dtexec.exe. if I have two config files do i use
    dtsexec.exe /f <packagename> /conf <configfile> /conf <secondconfigfile>

  • Changing Connection String dynamically at runtime

    I am using the Crystal Report Viewer control in in a Visuall Studio 2008 C# project.  The reports are created inside of Visual Studio 2008, and will be running against an InterSystems Cache database.  I have to use an ODBC (RDO) connection and use a connection string.
    I have seen many examples of how to update the connection string at runtime if it is SQL server (or some flavor thereof), but nothing for an ODBC (RDO) connection to a NON-MSSQL database.
    The problem when I update the connection string for each of the tables in the report, the report will either not run and display a window -- tiled 'Datbase Login' -- that has the Server, Database, Username, and Password fields on the window, OR, it will run but not against the database that was specified at runtime (it uses the connection stored in the report).
    Code Sample #1 (This is using the connection string, and will cause a the "Database Login" window to be displayed - the first scenario from above)
    rd = new ReportDocument();
    // Load the report
    rd.Load(fileName, OpenReportMethod.OpenReportByDefault);
    rd.Refresh();
    // Create the connection object
    ConnectionInfo connectionInfo = CreateConnection(Server, Port, ServerNamespace, Username, Password);
    // Set the connection info on each table in the report
    SetDBLogonForReport(connectionInfo, rd);
    SetDBLogonForSubreports(connectionInfo, rd);
    private static ConnectionInfo CreateConnection(string Server,
                                                   int Port,
                                                   string ServerNamespace,
                                                   string Username,
                                                   string Password)
            ConnectionInfo connectionInfo = new ConnectionInfo();
            string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server
                                                      + ";PORT=" + Port
                                                      + ";DATABASE=" + ServerNamespace
                                                      + ";UID=" + Username
                                                      + ";PWD=" + Password;
            connectionInfo.IntegratedSecurity = false;
            connectionInfo.UserID = Username;
            connectionInfo.Password = Password;        //In examples that I have seen, this is the actual connection string, not just the server name
            connectionInfo.ServerName = connString;          connectionInfo.DatabaseName = ServerNamespace;
            connectionInfo.Type = ConnectionInfoType.CRQE;
            return connectionInfo;
    private static void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            foreach (CrystalDecisions.CrystalReports.Engine.Table table in reportDocument.Database.Tables)
                TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connectionInfo;
                table.ApplyLogOnInfo(tableLogonInfo);
    private static void SetDBLogonForSubreports(ConnectionInfo connectionInfo, ReportDocument reportDocument)
            foreach (Section section in reportDocument.ReportDefinition.Sections)
                foreach (ReportObject reportObject in section.ReportObjects)
                    if (reportObject.Kind == ReportObjectKind.SubreportObject)
                        SubreportObject subreportObject = (SubreportObject)reportObject;
                        ReportDocument subReportDocument = subreportObject.OpenSubreport(subreportObject.SubreportName);
                        SetDBLogonForReport(connectionInfo, subReportDocument);
    Sample #2 (the same as Sample #1 above, only the ConnectionInfo method is different - which is all that I included here)
    private static ConnectionInfo CreateConnection(string Server,
                                                    int Port,
                                                   string ServerNamespace,
                                                   string Username,
                                                   string Password)
            ConnectionInfo connectionInfo = new ConnectionInfo();
            string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server
                                                      + ";PORT=" + Port
                                                      + ";DATABASE=" + ServerNamespace
                                                      + ";UID=" + Username
                                                      + ";PWD=" + Password;
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              DbConnectionAttributes.CONNINFO_DATABASE_DLL, DbConnectionAttributes.DATABASE_DLL_CRDB_ODBC));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              DbConnectionAttributes.QE_DATABASE_NAME, ServerNamespace));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              "QE_DatabaseType", "ODBC (RDO)"));
            DbConnectionAttributes attributes = new DbConnectionAttributes();
            attributes.Collection.Add(new NameValuePair2(
                              DbConnectionAttributes.CONNINFO_CONNECTION_STRING, connString));
            attributes.Collection.Add(new NameValuePair2(
                              "Server", Server));
            attributes.Collection.Add(new NameValuePair2(
                              "UseDSNProperties", false));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2
    (                          DbConnectionAttributes.QE_LOGON_PROPERTIES, attributes));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              DbConnectionAttributes.QE_SERVER_DESCRIPTION, Server));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              "QE_SQLDB", true));
            connectionInfo.Attributes.Collection.Add(new NameValuePair2(
                              DbConnectionAttributes.CONNINFO_SSO_ENABLED, false));
            connectionInfo.IntegratedSecurity = false;
            connectionInfo.UserID = Username;
            connectionInfo.Password = Password;
            connectionInfo.ServerName = connString;
            connectionInfo.DatabaseName = ServerNamespace;
            connectionInfo.Type = ConnectionInfoType.CRQE;
            return connectionInfo;
    I have also tried setting connectionInfo.ServerName equal to just the real server name, but that didn't work either.
    After the above operations are performed, I simply assign the returned ReportDocument object to the Crystal Viewer control.  If I don't call the above functions, and just set the ReportDocument source (using whatever connection string was embedded in the report originally), the report runs as expected.  Only when I attempt to update the connection string, the report will not execute.  Please advise.  Thanks!

    I am using the Crystal Report Viewer control in in a Visuall Studio 2008 C# project.  The reports are created inside of Visual Studio 2008, and will be running against an InterSystems Cache database.  I have to use an ODBC (RDO) connection and use a connection string.
    I have seen many examples of how to update the connection string at runtime if it is SQL server (or some flavor thereof), but nothing for an ODBC (RDO) connection to a NON-MSSQL database.
    The problem when I update the connection string for each of the tables in the report, the report will either not run and display a window -- titled 'Datbase Login' -- that has the Server, Database, Username, and Password fields on the window, OR, it will run but not against the database that was specified at runtime (it uses the connection stored in the report).
    Code Sample #1 (This is using the connection string, and will cause a the "Database Login" window to be displayed - the first scenario from above) -- The code samples appear to be too long to post, so I will add them as seperate replies.
    rd = new ReportDocument();
    // Load the report
    rd.Load(fileName, OpenReportMethod.OpenReportByDefault);
    rd.Refresh();
    // Create the connection object
    ConnectionInfo connectionInfo = CreateConnection(Server, Port, ServerNamespace, Username, Password);
    // Set the connection info on each table in the report
    SetDBLogonForReport(connectionInfo, rd);
    SetDBLogonForSubreports(connectionInfo, rd);
    private static ConnectionInfo CreateConnection(string Server, int Port, string ServerNamespace, string Username, string Password)
            ConnectionInfo connectionInfo = new ConnectionInfo();
            string connString = "DRIVER=InterSystems ODBC;SERVER=" + Server + ";PORT=" + Port + ";DATABASE=" + ServerNamespace + ";UID=" + Username + ";PWD=" + Password;
            connectionInfo.IntegratedSecurity = false;
            connectionInfo.UserID = Username;
            connectionInfo.Password = Password;        //In examples that I have seen, this is the actual connection string, not just the server name
            connectionInfo.ServerName = connString;          connectionInfo.DatabaseName = ServerNamespace;
            connectionInfo.Type = ConnectionInfoType.CRQE;
            return connectionInfo;
    // Code smple continued in the next reply

  • How to change connection string for a form created with b1de

    Hi all
    i've created a form using the Code Generator tool ob B1DE
    My question is how can i set the connection string to a different server and database. doing so after the creation wizard has finished?

    Hi,
    Why do you need to change the connection string? What are you calling "connection string for a form"???
    The only connection string I now about is the one used to connect to the UI API... and this one is fixed for all apps in debug mode and given as parameter when your addon is registered in B1.
    The connection string is filled in the code of your generated addon.
    Please go to the main class of your addon, in the main method you have the following code where the connection string is filled either with the command line parameters (release mode) or with the fixed value given by SAP. This code doesn't need to be changed...
            public static void Main()
                int retCode = 0;
                string connStr = "";
                bool diRequired = true;
                // CHANGE ADDON IDENTIFIER BEFORE RELEASING TO CUSTOMER (Solution Identifier)
                string addOnIdentifierStr = "";
                if ((System.Environment.GetCommandLineArgs().Length == 1)) {
                    connStr = B1Connections.connStr;
                else {
                    connStr = System.Environment.GetCommandLineArgs().GetValue(1).ToString();
                try {
                    // INIT CONNECTIONS
                    retCode = B1Connections.Init(connStr, addOnIdentifierStr, diRequired);
    Regards
    Trinidad.

  • Connection string & host string

    Hello,
    What is difference between connection string and host string?
    Could someone please clarify it.
    Regards
    Krishna

    In tnsnames.ora file in host part whether we have to specify host name or host IP Address?
    ORION.SSAPL01=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = [b]sagardomain.SSAPL01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    or HOST = 10.15.1.111
    Message was edited by:
    KRKP

  • How to change Connection String property in DataLink tab with Database options at Runtime?

    Hello
    please help me with your suggestions on the subject.
    I need to set "connection String" property at runtime as a result of some operation so as to log data in one of the 2 different database available.
    Regards
    Nitin Goel

    Hello Goel,
    are you thinking about something like this:
    Message Edited by frankne on 07-15-2009 01:40 AM

  • Change connection string in MS Excel 2013 powerpivot

    I need to update connection strings of multiple files in Bulk using c# . But , Its working for MS Excel 2010 and not for Excel 2013.
    Code snippet :
    Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application();
    Microsoft.Office.Interop.Excel.Workbook ppWorkbook = (Microsoft.Office.Interop.Excel.Workbook)xlApp.Workbooks.Open(fileNameBox.Text);
    Microsoft.Office.Interop.Excel.Connections connections = ppWorkbook.Connections;
    string newConnectionString = "Connection String";
    try
    foreach (Microsoft.Office.Interop.Excel.WorkbookConnection connection in connections)
    connection.OLEDBConnection.Connection = newConnectionString;
    catch (Exception ex)
    It occurs while assigning the connection string to OLEDBConnection. Need solution for MS Excel 2013 c#.

    Hello,
    this links contains all connection string about Excel:
    https://www.connectionstrings.com/excel/

  • My Pages documents disappeared from my iphone somehow in the process of changing my iphone account from a defunct email address to my new one. How do I get them back?

    I changed my Apple account to a new email address and away from an address that was discarded last summer. Somehow, in the process, all my Notes word processing documents left my iphone. Did they go to the icloud for my old Apple account or just disappear completely? I can't access the old icloud since it requires a working up-to-date email address. Apple Security so far has not been able to help me restore my orphaned files. What to do now?!

    These two links may also help http://support.apple.com/kb/ht5621 and http://support.apple.com/kb/HT5787

  • Change Connection Strings?

    Hi everyone,
    When developing a Sinea App, especially in the context of using Office 365 or SharePoint, can we have a method or mechanism to change the data connection without having to remove and re-add the data source.
    While developing the app we might choose to connect to lists and libraries in a Dev site and before we publish the app we would want to change the URLs to point to a production site or server.
    Regards,
    James.

    Hi James,
    Currently for Office 365, this is the only way to swap out sources in the manner you described. The reason is when you add the data source and successfully sign in, we grab key details such as what tenant you are on? What services are available to you? And
    bake those into the connector.
    Therefore, when switching between development and production sites, this information will change and as such we need to query the server for these key details again, and add the connector configured appropriately for this new server. As long as the
    names are the same, most of the rules should be fine, but we definitely understand that there will be some friction.
    As we evolve the product and the oppourtunity arises, this is definitely something we'll consider. Many thanks for the feedback.

  • Loading Entity Framework Connection String Metadata from GAC

    Hello,
    I have a solution that use Entity Framework to connect to MySQL. The Class Library Project is Gaced and I need to Load the Metadata for EntityConnectionStringBuilder from the GAced assembly.
    efString.Metadata = @"metadata=res://[assemlyName, Version, neutral, PuplicToken]/Model.csdl|res://[assemlyName, Version, neutral, PuplicToken]/Model.ssdl|res://[assemlyName, Version, neutral, PuplicToken]/Model.msl";
    but no luck
    any idea.
    hassan ibrahim

    Hi,
    I would like to understand but I don't.
    This little piece of code you provided, what is it ?  Where do I use it.  From what I understand of the question,  I do not see how this solves the problem. I have the same problem here.
    To get my CustomerEntities context I do CustomerEntities Context = new CustomerEntities() and we can't pass parameter to it and this is what we need to instantiate so having a class derived from DbConext what will this do and what to put in it ? I mean 
    How do we connect to different database then the one the CustomerEntities will use from app.config ?

  • Changing Hyper-V host and cluster virtual IP addresses to new subnet/VLAN

    I have a 2 node Hyper-V 2012 R2 failover cluster, managed by System Center Virtual Machine Manager 2012 R2, and I would like to change the IP addresses of the hosts and the cluster, in order to move them to a new subnet and VLAN. The existing and new subnets
    are able to route to each other so all hosts will still be able to communicate throughout the parts of the process where they may be on separate subnets. There is also a dedicated cluster heartbeat network on its own subnet and VLAN that I am not altering
    in any way.
    The 2 hosts are configured with 4 nics in a team, with dedicated virtual interfaces for each of the following:
    -Live Migration
    -Cluster Heartbeating
    -Host management/general traffic (the cluster virtual IP address is also on the same subnet as these interfaces).
    It is the host management/general traffic addresses that I want to change. The interfaces were created and configured with the Add-VMNetworkAdapter, New-NetIPAddres and Set-VMNetworkAdapterVlan commands.
    Please advise if the following process is correct:
    1) Evacuate all the VMs from the first host to be changed and put it in maintenance mode.
    2) Use Set-VMNetworkAdapter to change the name of the interface (the current name refers to the VLAN it's on)
    3) Use Set-NetIPAddress to change the IP address and gateway of the interface as appropriate
    4) Use Set-VMNetworkAdapterVlan to set the VLAN ID
    5) Take the host out of maintenance mode and move all VMs off the other host
    6) Repeat above steps on the other host
    I know that I will then need to change the cluster virtual IP address, but I have no idea how to do this or where to look for that setting. Please advise!
    Cheers.

    Hi new_guise,
    For changing cluster node's IP address please refer to the link below :
    https://support.microsoft.com/kb/230356?wa=wsignin1.0
    For changing VIP please refer to this article :
    http://blogs.technet.com/b/chrad/archive/2011/09/16/changing-hyper-v-cluster-virtual-ip-address-vip-after-layer-3-changes.aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • I recently changed my Appleid name from an old email address to my more frequently used one.  But my iphone 4 will not give me the option to change it.  Any suggestions?

    its the same id just renamed it but my phone doesnt allow me the option.  is it so obvious im missing it?

    Welcome to the Apple community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    When you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.

  • How do I change my icloud account from my old email address to my new email address, the old one is no longer accessable!!

    Hi
    I changed my old email address over a year ago and my icloud still only recognises the old email address on my iphone 5, how do I go about changing it, if I do not have access to a password, to my new email address?  My iTunes is on my new email address but not my icloud account.
    For some reason it only recognises my daughter email, as we share iTunes account.
    Please could you help with what I could do to change it??

    Oops sorry, that doesn't make sense, I don't have access to my old email address, we closed the account!!  I obviously do have access to my new email address but its not letting me change to my new email address!!

  • How to change domain name from "LocalHost" to ipaddress in Jdeveloper?

    Hi
    When i run any application from JDeveloper, the page opening with the URL keeping "*LocalHost*" as a domain name,
    eg: http://*localhost*:7101/Testing/faces/index.jsf
    How can i change the domain name from "localHost" to my system's ipaddress. So that whenever i execute the page, the page should open with the ipaddress and not with "localhost", like http://*10.34.65.175*:7101/Testing/faces/index.jsf
    Regards
    Raj

    Thank you Timo.
    I changed domain name from "localhost" to ipaddress as you said, after that the server stopped working. Unable to run any application.
    Then I changed it back to "localhost" and its working fine.
    I am doing it for 2 reasons,
    1) With localhost as domain name, I am unable to open ADF mobile browser application in Android emulator.
    2) Unable to do remote debugging. Hope this could be the reason.
    Regards
    Raj

Maybe you are looking for