Connection Refused when transmitting


#1

Hi,

I am currently trying to transmit a picture using the TCP transmission.
However, there are some problem regarding the transmission side. It
appears that the port is blocked as there is a socket error which states
‘Connection refused’.

please input server IP address: 172.20.2.89
please input esrver port (default is 5000): 5000
Traceback (most recent call last):
File “MainFrame.py”, line 180, in OnTransmit
s.connect((HOST, PORT))
File “”, line 1, in connect
socket.error: (111, ‘Connection refused’)

The result is the same even if i input the IP address as 127.0.0.1.

Help is much appreciated! Thank you so much!
Regards,Joreen


Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/photos.aspx


#2

I’m not familiar with what code you are using, but you will need to have
a port open on the server you are trying to connect to. In your case, a
port should be open on port 5000 at 172.20.2.89 in order for your client
code to connect to it. If you enter 127.0.0.1 then you’ll need a server
running on your local computer opening port 5000.

Tim


Timothy R. Newman, Ph.D.

DNI Post Doctoral Fellow

Wireless @ Virginia Tech

447 Durham Hall

Blacksburg, VA 24061

Phone: 540-231-2041

From: discuss-gnuradio-bounces+trnewman=removed_email_address@domain.invalid
[mailto:discuss-gnuradio-bounces+trnewman=removed_email_address@domain.invalid] On Behalf Of
Joreen T.
Sent: Sunday, December 21, 2008 10:31 PM
To: removed_email_address@domain.invalid
Subject: [Discuss-gnuradio] Connection Refused when transmitting

Hi,

I am currently trying to transmit a picture using the TCP transmission.
However, there are some problem regarding the transmission side. It
appears that the port is blocked as there is a socket error which states
‘Connection refused’.

please input server IP address: 172.20.2.89
please input esrver port (default is 5000): 5000
Traceback (most recent call last):
File “MainFrame.py”, line 180, in OnTransmit
s.connect((HOST, PORT))
File “”, line 1, in connect
socket.error: (111, ‘Connection refused’)

The result is the same even if i input the IP address as 127.0.0.1.

Help is much appreciated! Thank you so much!

Regards,
Joreen


Get easy photo sharing with Windows Live™ Photos. Drag n’ drop
http://www.microsoft.com/windows/windowslive/photos.aspx


#3

On Mon, Dec 22, 2008 at 11:31:23AM +0800, Joreen T. wrote:

File “”, line 1, in connect
socket.error: (111, ‘Connection refused’)

The result is the same even if i input the IP address as 127.0.0.1.

Help is much appreciated! Thank you so much!
Regards,Joreen

Firewall?