Could not connect to host 127.0.0.1 (port 8080).

Nils Kassube kassube at gmx.net
Wed Jun 13 12:55:53 UTC 2007


Phil Pinkerton wrote:
> 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 ?)

Telnetd is definitely NOT needed here.

> telnet localhost:8080
> telnet: could not resolve localhost:8080/telnet: Name or service not
> known

Wrong syntax -- it is "telnet host" for the standard telnet port 
or "telnet host port" for other ports.

> telnet localhost
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused

Correct syntax, but no service on port 23 (standard port for telnet).

> telnet localhost 8080
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused

Correct syntax, but no service on port 8080.

> /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)*

Now service telnet is running on port 23, as expected -> successfully 
connected.

> *# telnet localhost 8080
> Trying 127.0.0.1...
> telnet: Unable to connect to remote host: Connection refused

You didn't install a service for port 8080 -- no change here.

I don't know anything about that oracle database, but obviously you want 
it to listen on port 8080. Therefore, please check if the setup of the 
database is correct. From your previous post:

| Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quecaixa.rio)
| (PORT=1521))) 

Maybe it is listening on the wrong port 1521.


Nils




More information about the kubuntu-users mailing list