← Back to team overview

p2psp team mailing list archive

Re: A new comer meet a problem in using (connection error)

 

Hi Bai,

this script "play.sh" was maintained  (sorry for the inconvenience). Now
the script should work.

Best regards,
Vicente.

On Wed, Feb 24, 2016 at 3:44 PM Bai Lan <luna.bailan0506@xxxxxxxxx> wrote:

> Hello, thank you for approve me join your team. I am a starter and I meet
> a problem in connection to localhost.
>
> When I run ./play.sh, I get:
>
> netcat: connect to localhost port 61229 (tcp) failed: Connection refused
>
>
> While I can listen to the port by nc .
>
> I try to use the command:
>
> xterm -e "./peer.py --splitter_addr 150.214.150.68" &
> vlc http://localhost:9999 &
>
> I get error from vlc:
>
> VLC is unable to open the MRL 'http://localhost:9999'.
>
> [0xa06eeb0] [http] lua interface: Lua HTTP interface
> [0x9f0c190] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to u
> se vlc without interface.
> [0xb5130e28] main access error: connection failed: Connection refused
> [0xb5130e28] access_http access error: cannot connect to localhost:9999
> [0xb5130e28] main access error: connection failed: Connection refused
> [0xb5130e28] access_mms access error: cannot connect to localhost:9999
> [0xb450e278] main input error: open of `http://localhost:9999' failed
>
> I also try the command:
>
> ./peer.py &
> vlc http://localhost:9999
>
>
> Then connection refused:
>
> [0x9d4beb0] [http] lua interface: Lua HTTP interface
> [0x9be9190] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to use vlc without interface.
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] main access error: Write error: Broken pipe
> [0xb00042c8] access_http access error: failed to send request
> [0xb00042c8] main access error: connection failed: Connection refused
> [0xb00042c8] access_http access error: cannot connect to localhost:9999
> [0xb00042c8] main access error: connection failed: Connection refused
>
> What might be wrong with my configuration?
>
> Thanks,
>
> Lan Bai
>
>
>
>
> --
> Mailing list: https://launchpad.net/~p2psp
> Post to     : p2psp@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~p2psp
> More help   : https://help.launchpad.net/ListHelp
>
-- 
-- 
Vicente González Ruiz
Depto de Informática
Escuela Técnica Superior de Ingeniería
Universidad de Almería

Carretera Sacramento S/N
04120, La Cañada de San Urbano
Almería, España

e-mail: vruiz@xxxxxx
http://www.ual.es/~vruiz
tel: +34 950 015711
fax: +34 950 015486

References