Could not connect to host 127.0.0.1 (port 8080).
Phil Pinkerton
pcpinkerton at gmail.com
Wed Jun 13 11:54:39 UTC 2007
Derek Broughton wrote:
> Wilfried Kaeufler wrote:
>
>
>> Derek Broughton schrieb:
>>
>>> Phil Pinkerton wrote:
>>>
>>>
>>>> It seems like a simple problem but for the life of me I cannot remember
>>>> how to fix it.
>>>>
>>>> I installed Oracle-XE the DB is running but port 8080 is not active.
>>>>
>>> First guess is you have something else on 8080. Try "telnet localhost
>>> 8080".
>>>
*Result : Perhaps due to telnetd not being installed (default ?)
telnet localhost:8080
telnet: could not resolve localhost:8080/telnet: Name or service not known
telnet localhost
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
/Installed telnetd:
Manually added to /etc/xinetd.conf:
///service telnet/
/{ /
/ socket_type = stream /
/ protocol = tcp /
/ wait = no /
/ user = root /
/ server = /usr/sbin/in.telnetd/
/*//*}*/
*Ran # /etc/rc.d/init.d/xinetd restart*
*# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Ubuntu gutsy (development branch)*
*# telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
# telnet localhost:8080
telnet: could not resolve localhost:8080/telnet: Name or service not known*
phil
/*
*
>>>
>>>> Started with pid=5715
>>>> Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
>>>> Listening on:
>>>> (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quecaixa.rio)(PORT=1521)))
>>>> Listener completed notification to CRS on start
>>>>
>>>> TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
>>>> 11-JUN-2007 07:48:29 *
>>>> (CONNECT_DATA=(CID=(PROGRAM=)(HOST=quecaixa)(USER=oracle)
>>>>
> (COMMAND=status
>
>>> (ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568))
>>>
>>>> * status * 0
>>>>
>>> That looks a little odd. Why does the listener specify
>>> "HOST=quecaixa.rio"
>>> but the connect says "HOST=quecaixa"? Try making it just "localhost"
>>> (mine is actually 127.0.0.1). Even if you actually want to connect from
>>> another host, _you_ connect to the listener, and _it_ connects to the
>>> database, so if the listener runs on the same machine as the db it
>>> doesn't need a network name (well, I'm a bit out of my depth, but I run
>>> Oracle XE on my laptop and _do_ access it from SQLDeveloper and Toad from
>>> another box).
>>>
>> I think, your problem is the tcp-port 8080 for https reserved for the
>> localhost- 127.0.0.1.
>>
>
> Why do you think that? 8080 is not usually used for https and afaict
> nothing he's doing is trying to use https.
>
>> Take another host: e.q. 127.0.0.10: 8088 or 6588 etc.
>>
>
> hmmm. Never tried using another host on 127.0.*.*. That might well work -
> but again, the real problem appears to me to be that he _isn't_ using a
> local IP, he's using quecaixa or quecaixa.rio.
>
>> But donĀ“t use the tcp/ip ports: 80, 8080, 21, 2121, 100, 1010.
>>
>> Use anothr protocol than tcp/ip.
>>
>
> Ack!!! That's never going to work. You want to use 8080 because it's
> generally easier to make _anything_ else use another port than Oracle, and
> you MUST use TCP/IP (well, there might be a work-around, but I sure don't
> know it).
>
More information about the kubuntu-users
mailing list