LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Create TCP Listener - Linux

Hi,
 
When using the Create TCP Listener function in Linux Red Hat 9.0, I get an error (ill-formet net address). What is strange is that I get this error only when running the VI (built as an executable) as a regular user. When I run it as root, no problem.
 
Any idea?
 
Thanks,
 
Alex
0 Kudos
Message 1 of 4
(2,989 Views)
Hello Alex,

We've seen this issue before with Linux users (for example http://forums.ni.com/ni/board/message?board.id=170&message.id=63457&requireLogin=False), it seems as though you'll have to change some permissions in Linux if you want to use TCP when not logged in as root.

Hope it helps-
Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 2 of 4
(2,983 Views)

Hi Travis,

Thank you for your answer. I just found what happens... When you try to create a listener on a port lower than 1024 and you doesn't have the superuser privileges, you get that error. Hope this will help!

Thanks,

Alex

Message 3 of 4
(2,980 Views)
Awesome!  Thanks for posting the resolution -- this will no doubt help future users!
Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 4 of 4
(2,970 Views)