?
Solved

Opening a port is not showing up on the port scan

Posted on 2008-06-16
4
Medium Priority
?
512 Views
Last Modified: 2013-11-11
here are the steps of the process that I'm am doing:

1. open terminal
2. type in the command : sudo ipfw add allow tcp from any 500 to any 500
3. use the network utility to scan the ports

unfortunately the port does not show up in the port scan

what am I doing wrong/missing?

I'm very new to this OS.
0
Comment
Question by:GarrettChristopherson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Assisted Solution

by:kanlue
kanlue earned 700 total points
ID: 21810335
did you try to use following command to check the list of open-port/rules?
sudo ipfw list


and about mac os x firewall settings, heres a few tips:
-----------------------
open terminal;

to add a port:
sudo ipfw add allow [udp or tcp] from [port] to [port]
So, if you want allow port 25 with tcp youd type sudo ipfw add allow tcp from 25 to 25

to see your rules:
sudo ipfw list

to delete an open port:
first type sudo ipfw list, youll get something like this

65535 allow ip from any to any

take the number proceeding the rule you want to delete and type sudo ipfw deletem [rule number].
-------------

hope it helps.
0
 
LVL 24

Accepted Solution

by:
slyong earned 1300 total points
ID: 21810904
Hi Garett,
Allowing port in ipfw doesn't mean that any process/program/server is listening on that port.  So netscan will not show anything if you don't have a program which listen on port 500.  As kanlue replied, you can check what are the ports opened using "sudo ipfw list"
0
 
LVL 7

Expert Comment

by:kanlue
ID: 21815704
Good point, slyong.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question