Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

System specs:

Ubuntu 10.04 Apache 2

Installed an SSL cert from GoDaddy, checked that it works by issuing the following on the server itself:

openssl s_client -showcerts -connect localhost:443

However when I issue that same command on my laptop and replace localhost with the domain of the actual server, the request just hangs and then times out.

I've run netstat -an on the server to make sure port 443 is open & listening and it is (for tcp connections).

I'm not sure what else to check.

share|improve this question

migrated from stackoverflow.com Sep 15 '11 at 6:03

This question came from our site for professional and enthusiast programmers.

    
Is Apache configured to listen on port 443? –  Pekka 웃 Sep 13 '11 at 21:15
    
This should probably get moved to serverforge, but until then: 1) Does netstat -anp | grep httpd show apache listening on 443 (:::443) (and probably also listening on :::80 2) Can you, assuming it is also listening on port 80, connect to http://<server> –  Foon Sep 13 '11 at 21:19
    
stackoverflow.com specs: programming questions, programming questions, programming questions. Your question: off-topic. –  GregS Sep 13 '11 at 23:36

1 Answer 1

Configure apache to listen on the external IP address, not just on localhost. netstat -a -n should show something like this:

tcp    0   0  192.168.1.2:443   0.0.0.0:*   LISTEN    -  

where the IP address (local address) is not 127.0.0.1. 0.0.0.0 is fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.