Forum: GNU Radio Connection Refused when transmitting

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0a2e71854bb218131012ec9764eb33dd?d=identicon&s=25 Joreen Tan (Guest)
on 2008-12-22 04:32
(Received via mailing list)
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 "<string>", 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
6b9e86b84231f94e35327d5747111bcd?d=identicon&s=25 Newman, Timothy (Guest)
on 2008-12-22 05:03
(Received via mailing list)
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=vt.edu@gnu.org
[mailto:discuss-gnuradio-bounces+trnewman=vt.edu@gnu.org] On Behalf Of
Joreen Tan
Sent: Sunday, December 21, 2008 10:31 PM
To: discuss-gnuradio@gnu.org
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 "<string>", 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(tm) Photos. Drag n' drop
<http://www.microsoft.com/windows/windowslive/photos.aspx>
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2008-12-22 05:29
(Received via mailing list)
On Mon, Dec 22, 2008 at 11:31:23AM +0800, Joreen Tan wrote:
>   File "<string>", 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?
This topic is locked and can not be replied to.