Can not connect to 389-ds via 389-console

Hi guys,

I have installed 389-ds on a fedora 15 test machine. both dirsrv and dirsrv-admin is running. Also both ns-slapd and httpd.worker is running. here is netstat -antp result:

tcp    0    0 0.0.0.0:9830    0.0.0.0:*    LISTEN    868/httpd.worker
tcp    0    0 :::389          :::*         LISTEN    871/ns-slapd

But ns-slapd seems to listen to IPv6 address. When I connect from 389-console it says:

Con not connect to the Directory Server "ldap://ldap.example.com:389"
LDAP error: failed to connect to server ldap://ldap.example.com:389.
Would you like to attempt to restart the Directory Server?

How can I fix it?

Have you added the appropriate rules to iptables?

Is your system actually called ldap.example.com?

iptables is completely disabled.
what do you mean by:

Well according to #1:

So is ldap.example.com the FQDN for the LDAP server?

yes. hostname output is: ldap.example.com