Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to connect to Lion Server with Server App or Server Admin

I'm running 10.7.4 on my Mac Mini and my iMac. I administer my Mac Mini server from my iMac. I am unable to connect using fully qualified domain name. Even after checking the items in this article.

I am able to connect if I use the internal network ip address or the servername.local name.

Has anyone had this problem and what was done to fix it. Thanks

Mac mini, Mac OS X (10.7.4)

Posted on Aug 12, 2012 9:21 AM

Reply
Question marked as Best reply

Posted on Aug 12, 2012 12:20 PM

Is the external interface configured with your static IP, asuming that you indeed have one as any server should?

If so, the first thing that comes to mind is af firewall issue. What services are you tying to reach and are the associated port numbers open to be accessed from the outside?

9 replies

Aug 12, 2012 1:11 PM in response to Mark23

I think I have in essence what you are asking. I do have the ability to access a website I host on my Lion Server through a fully qualified domain name (FQDN). Typing the url into my browser pulls up the website without problems. I have also cleared browser cache and reloaded pages w/o issue. I use dyndns for dynamically updated external ip address.

I also have VPN services working w/o issue from my iMac.

But when I try to access it via Server app I get the log in dialog and when I select the listed server that I want to access (it's listed name is my FQDN with local ip address) and fill in my password it shakes like I have the wrong log in info.

If I use the Server App and enter the local ip address it connnects with the same user name and password that I used before.

Note my server and the computer I am using to administer it are on the same internal network and I'm trying to get this to work so I can install the Server App on my macbook which I will use to adminsiter the server when I am away from my home network.


I have also tried to connect via the VPN without success when using the FQDN.

I don't know what the specific port is for Server App.

Aug 12, 2012 1:40 PM in response to Subrunner7

It's port 687 (TCP) that needs to be opened.

For L2TP VPN you'd need port 1701 (UDP) to be opened.

For PPTP VPN you'd need port 1723 (TCP) to be opened/

(source: Well known TCP and UDP ports used by Apple software products)


The server being located on the same subnet should not be a problem, however do make sure all the ports needed are forwarded from your modem and router to your server. If you choose to forward all incomming traffic to your server, please make sure you have the firewall enabled and configured to allow only access to the ports you want to as listed in the document above at least from the "any" group within server admin's firewall section.

Aug 12, 2012 1:49 PM in response to Subrunner7

I believe I read your post wrongly... Lion Server sets up it's own DNS server if it can't find one at install time, so adding the internal IP as a DNS server to your client's network preferences should enable you to access the machine by it's FQDN, provided that the DNS service lists the FQDN.


You can access the DNS server via Server Admin.

Aug 12, 2012 2:03 PM in response to Mark23

Mark23 thank you for engaging on my challenge.

I did fwd port 687 to my server but I have the same inability to access the server via Server App.

I also ensured my server is set up with a static ip address and all requisite ports for FTP are properly forwarded.

I tested FTP and it work fine and had been okay.

I also verified that the lion server's DNS server is set with the same ip address as itself.


I have noticed that when I try to connect using the internal ip address I don't see the certificate verification warning come up.


Could I have a bad certificate that is not popping up for verification?


Again thank you for the time you have expended in trying to help me.

Aug 12, 2012 2:22 PM in response to Subrunner7

The certificate verification warning isn't supposed to come up if:

- you connect through to a connection that isn't supposed to be encrypted, or

- you have a valid certificate set up that has been issued by an official certificate authority.


I have noticed that when I try to connect using the internal ip address I don't see the certificate verification warning come up.


Could I have a bad certificate that is not popping up for verification?


Since you are administering the server from the same subnet behind a firewall, I guess there's no need for an encrypted connection 🙂


Did you enter your server's IP as an additional DNS server in your client's network preferences?

Aug 12, 2012 3:19 PM in response to Mark23

Mark23, I think I have solved the problem based on your first recommendation regarding the external interface being configured with my static ip.

I wasn't sure what that meant but after looking at the dyndns Updater, I found the interface drop down and selected my static ip. I am now able to connect using the server app on my client computer.


My apologies for not catching that earlier but your first recommendation was truely the solution to the whole issue.


Thank you very much!!

Unable to connect to Lion Server with Server App or Server Admin

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.