LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 07-09-2010, 10:46 AM   #1
Manish87
Member
 
Registered: May 2010
Posts: 116

Rep: Reputation: 18
Port check in Linux?


Hi,

i 'm basically new to linux and i wanted to know whether there are any port check softwares that are available to check the ports that are open on my computer and to open some of it!!i would be really thankfull towards you if you could suggest me some of the software downloading sites(.rpm) because i am really buged posting question over again and again for every single problem of mine!!





Kind Regards,
Manish
 
Old 07-09-2010, 11:02 AM   #2
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,698

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
man netstat should get you started
 
Old 07-09-2010, 11:20 AM   #3
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
HI,

I Downloaded nmap as u said but i am getting an error message

"Can't install /home/Manish/Downloads/nmap-3.70-2.0.rh8.dag.i386.rpm as no transaction"





Kind Regards,
Manish
 
Old 07-09-2010, 11:32 AM   #4
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 131

Rep: Reputation: 20
try
yum -y install nmap
if you need the gui then:
yum -y install nmap-frontend
 
Old 07-09-2010, 11:57 AM   #5
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
HI,


Okay i installed it,i goto /usr/bin/nmap and from terminal i type namp <myipaddress>,but how do you open say a particual port on your system?










Kind Regards,
Manish

Last edited by Manish87; 07-09-2010 at 12:09 PM.
 
Old 07-09-2010, 12:55 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
Are you trying to run some service on a port? Or perhaps you are trying to forward that port to somewhere else? Please tell us what your goal is, then, we may be able to help.

Evo2.
 
Old 07-09-2010, 01:34 PM   #7
Manish87
Member
 
Registered: May 2010
Posts: 116

Original Poster
Rep: Reputation: 18
Hi,


sure,i was trying to forward the port ,since i was keen on knowing what port forwading is and how it works n all those stuff!i am currently using nmap and i wanted to know on how i could forward a particular port to some remote machine!






Kind Regards,
Manish
 
Old 07-09-2010, 05:08 PM   #8
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
nmap is for checking ports. You need to use iptables or configure your router to open ports.
 
Old 07-09-2010, 11:04 PM   #9
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,248

Rep: Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558
Code:
man lsof
I learned about it just today.
 
  


Reply


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
Check which port is opened malickhat Linux - Newbie 5 05-11-2010 04:17 AM
[SOLVED] How do I check port 3306? rgannon Linux - Newbie 2 03-10-2010 08:19 PM
Check if port is open m1n Linux - Newbie 1 06-09-2009 01:47 AM
how to check if port is active? Junior_DBA Linux - Newbie 4 11-06-2008 08:15 AM
check mail port hansi umayangan Linux - Networking 4 07-22-2005 11:13 AM


All times are GMT -5. The time now is 07:57 AM.

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