Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQLPlus in local PC having DSL internet connection

Re: SQLPlus in local PC having DSL internet connection

From: Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl>
Date: Sat, 13 Mar 2004 08:31:45 +0100
Message-ID: <s6e5509sev8o55n1kl1por69u146pcn1ue@4ax.com>


On Fri, 12 Mar 2004 22:15:49 +0200, "Pete" <jik_at_jaja@com> wrote:

>Hello,
>
>Can anyone please tell me what "switch" should I put and were in
>configuration files that SQLPlus would work locally in my PC?
>
>Situation is following: I have a WinXP PC that is connected to Interned via
>DSL-modem. When I start using SQLPlus and try to log in into it, SQLPlus
>gives TNS listener not found errors. If I disconnect my PC from Internet
>(disconnecting DSL) SQLPlus runs in my PC locally like I want it to run.
>
>So, where to give that configuration information that tells SQLPlus that I'm
>running it and Oracle DB locally?
>
>Thanks,
>

Either make sure you use the name of your computer in the HOST= section
Or set up
127.0.0.1 localhost
in %WINNT%\system32\drivers\etc\hosts

and use localhost as host name

In both listener.ora and tnsnames.ora obviously

--
Sybrand Bakker, Senior Oracle DBA
Received on Sat Mar 13 2004 - 01:31:45 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US