Results 1 to 3 of 3

Thread: How to open Ports ?

  1. #1
    Associate
    Join Date
    Jul 2004
    Location
    Sydney, Australia
    Posts
    12

    How to open Ports ?

    Hello,

    a quick question, how do i open/enable a port ? ( I don't have firewall) i know nmap localhost will list all the open ports, but what if i want to open or close a particular port (firewall is disabled ) My distro is FC3?

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear markwaugh,
    Hello,

    # iptables -A FORWARD -p tcp --sport 80 -j ACCEPT

    it will open port 80

    FYI, http://linux.unimelb.edu.au/server/c.../iptables.html

    Best Regards.
    Frrkh hmd

  3. #3
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    Do you want to want to open up the port or just have an application listen on a particular port?

    Shutting down a network enabled application will cause it to stop listening on its assigned port.

    This link will show you how to use the netstat and lsof commands to know exactly what application to shut down to get your server to stop listening on a particular port.

Similar Threads

  1. manually open ports in Internet Connection Firewal
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 09:58 PM
  2. Which Ports Open
    By GhostDawg in forum Windows - General Topics
    Replies: 10
    Last Post: 09-16-2004, 06:32 AM
  3. Closing ports on SCO Open Server 5
    By datamike in forum Linux - General Topics
    Replies: 3
    Last Post: 08-21-2002, 04:50 AM
  4. Open Ports
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 15
    Last Post: 07-17-2002, 02:04 PM
  5. open udp ports
    By tolstoy in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 02-08-2002, 11:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •