LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 09: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, 10:02 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,007

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
man netstat should get you started
 
Old 07-09-2010, 10: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, 10:32 AM   #4
z99
Member
 
Registered: Aug 2009
Location: Iran-Sari
Distribution: CentOS,Fedora,Slitaz
Posts: 136

Rep: Reputation: 20
try
yum -y install nmap
if you need the gui then:
yum -y install nmap-frontend
 
Old 07-09-2010, 10: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 11:09 AM.
 
Old 07-09-2010, 11:55 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 12: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, 04:08 PM   #8
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
nmap is for checking ports. You need to use iptables or configure your router to open ports.
 
Old 07-09-2010, 10:04 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 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
Open Source Consulting | Domain Registration