← Back to team overview

p2psp team mailing list archive

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

 

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

Follow ups