Results 1 to 7 of 7

Thread: How to open port 389 for localhost

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    12
    Rep Power
    4

    Default How to open port 389 for localhost

    I need to open port 389 up for localhost to be able to communicate to it.

    Starting Nmap 4.11 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2013-04-30 14:05 EDT
    Interesting ports on localhost.localdomain (127.0.0.1):
    PORT STATE SERVICE
    389/tcp closed ldap


    Firewall is turned off, unless this does not mean it is turned off.

    [root@mailbag ~]# lsmod | grep ip_tables
    [root@mailbag ~]#

    Only ports localhost is listening to are as follows.



    [root@mailbag ~]# nmap localhost

    Starting Nmap 4.11 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2013-04-30 14:09 EDT
    Interesting ports on localhost.localdomain (127.0.0.1):
    Not shown: 1676 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    111/tcp open rpcbind
    631/tcp open ipp
    730/tcp open netviewdm2

    Nmap finished: 1 IP address (1 host up) scanned in 0.070 seconds


    Here is a snipped of my services file.

    ulistproc 372/udp ulistserv
    ldap 389/tcp
    ldap 389/udp
    svrloc 427/tcp # Server Location Protocl
    svrloc 427/udp # Server Location Protocl


    And the host is monitoring this port.

    [root@mailbag ~]# nmap mailbag

    Starting Nmap 4.11 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2013-04-30 14:11 EDT
    Interesting ports on mailbag.bestpricehomes.net (24.106.184.4):
    Not shown: 1676 closed ports
    PORT STATE SERVICE
    22/tcp open ssh
    111/tcp open rpcbind
    389/tcp open ldap
    730/tcp open netviewdm2


    Any help will be greatly appricated. Thanks

  2. #2
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    476
    Rep Power
    4

    Default

    Hi jwh99, think this the intended behavior.

    Have a ZCS 7.1.4 P1 and a 7.2.3 showing the same as you.

    ccelis.

  3. #3
    Join Date
    Jun 2011
    Posts
    12
    Rep Power
    4

    Default Interesting

    Quote Originally Posted by ccelis5215 View Post
    Hi jwh99, think this the intended behavior.

    Have a ZCS 7.1.4 P1 and a 7.2.3 showing the same as you.

    ccelis.
    My problem is I am trying to renew certifications and it is not communicating on localhost:389

    error javax.naming.CommunicationException localhost:389

    I have been thru the fourms and nothing seems to work and I really think this is my problem. All errors seem to be of a communication nature and I have seen other posts where their local host port 389 was open. My theory is that all my problems are a result of this port not being open. Athough sometimes my theories don't hold water. :-)

  4. #4
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    I always create a firewall rule allowing incoming traffic to 127.0.0.0/8 and one allowing outgoing traffic from 127.0.0.0/8. These are my first two rules. Traffic is totally free to pass to and from the lo.

  5. #5
    Join Date
    Jun 2011
    Posts
    12
    Rep Power
    4

    Default

    Unless the firewall is fooling me, I have it totally turned off as can be seen below.

    [root@mailbag conf]# lsmod | grep ip_tables
    [root@mailbag conf]#

    I might try to turn it back on and add those two lines. Firewall was the first thing I thought of and to be honest the only thing that makes sense but it is disabled in the networking gui and the lsmod shows it is down. Am I missing something there? Have I turned it off?

  6. #6
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    Can you test it to see if you can hit it through the LAN IP on the computer. It does appear your firewall is off and you should be able to to hit the port if LDAP is bound to 127.0.0.1. Are you running IPv6?

Similar Threads

  1. Replies: 44
    Last Post: 04-08-2014, 08:37 AM
  2. Zimbra 8.0.2 (open source) still listening on port 80
    By herbersj in forum Installation
    Replies: 0
    Last Post: 03-02-2013, 08:55 AM
  3. Open Relay on port 25 from Lan
    By mutuku in forum Administrators
    Replies: 1
    Last Post: 01-17-2012, 11:38 AM
  4. Can not get email to relay Port 25 not open?
    By dataforcecrm in forum Installation
    Replies: 1
    Last Post: 11-05-2008, 03:09 AM
  5. open port 7071
    By pgrayove in forum Users
    Replies: 5
    Last Post: 03-30-2006, 08:08 AM

Tags for this Thread

Posting Permissions

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