Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2010, 01:28 AM   #1
LQ Newbie
Registered: May 2008
Posts: 28

Rep: Reputation: 15
Telnet | Netcat problem


I have netcat installed on my Fedora 9 (VM) machine, with local ip address then i run netcat as

nc -l 62323
where 62323 is any random port.

I have enabled telnet on windows 7 (host of vm machine) to connect to the netcat server. via this command
telnet 62323
but it does not work.

for testing i have did following things.
- disabled the iptables firewalls on fedora vm machine (service iptables stop)
- tried to ping both machines from each other and they were pinging properly.

Could someone tell why i am not able to do such a basic communication? Please?
Old 03-18-2010, 11:46 AM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 166Reputation: 166
You're using netcat incorrectly, try this:
nc -l -p 62323


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
capturing data from IP port in background using telnet or netcat (nc) kmslick Linux - Software 4 03-05-2010 02:12 PM
interactive telnet/netcat script help Hailey's_Comet Linux - Software 1 12-29-2008 03:58 AM
How to automate SMTP emails using netcat (not telnet) beeblequix Linux - Software 1 12-23-2008 11:30 AM
problem with netcat in knoppix homy Linux - Networking 4 02-16-2007 11:58 AM
Netcat s0n|k Linux - Newbie 3 04-16-2006 06:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration