How to Change HTTPS Port on Apache on Linux

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I found similar questions on Google but none of the solutions work for me. I am running Apache on Amazon Linux and want to change the default HTTPS port(443) to 4343. In the ssl.conf file I have changed the port in the lines:



Listen 4343 https
<VirtualHost _default_:4343>


After restarting Apache with this configuration the connection is refused. It works fine if I change those two lines back to 443. Though there is no "Listen 443 https" line in the httpd.conf file I also tried adding "Listen 4343 https" to the httpd.conf file to no avail.







share|improve this question


















  • 3




    Blind guess: have you ruled out firewall issues?
    – Ulrich Schwarz
    Dec 23 '17 at 7:33










  • take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
    – Î±Ô‹É±Ò½Ôƒ αмєяιcαη
    Dec 23 '17 at 7:56










  • Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
    – Needs More Documentation
    Dec 23 '17 at 15:39














up vote
0
down vote

favorite












I found similar questions on Google but none of the solutions work for me. I am running Apache on Amazon Linux and want to change the default HTTPS port(443) to 4343. In the ssl.conf file I have changed the port in the lines:



Listen 4343 https
<VirtualHost _default_:4343>


After restarting Apache with this configuration the connection is refused. It works fine if I change those two lines back to 443. Though there is no "Listen 443 https" line in the httpd.conf file I also tried adding "Listen 4343 https" to the httpd.conf file to no avail.







share|improve this question


















  • 3




    Blind guess: have you ruled out firewall issues?
    – Ulrich Schwarz
    Dec 23 '17 at 7:33










  • take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
    – Î±Ô‹É±Ò½Ôƒ αмєяιcαη
    Dec 23 '17 at 7:56










  • Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
    – Needs More Documentation
    Dec 23 '17 at 15:39












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I found similar questions on Google but none of the solutions work for me. I am running Apache on Amazon Linux and want to change the default HTTPS port(443) to 4343. In the ssl.conf file I have changed the port in the lines:



Listen 4343 https
<VirtualHost _default_:4343>


After restarting Apache with this configuration the connection is refused. It works fine if I change those two lines back to 443. Though there is no "Listen 443 https" line in the httpd.conf file I also tried adding "Listen 4343 https" to the httpd.conf file to no avail.







share|improve this question














I found similar questions on Google but none of the solutions work for me. I am running Apache on Amazon Linux and want to change the default HTTPS port(443) to 4343. In the ssl.conf file I have changed the port in the lines:



Listen 4343 https
<VirtualHost _default_:4343>


After restarting Apache with this configuration the connection is refused. It works fine if I change those two lines back to 443. Though there is no "Listen 443 https" line in the httpd.conf file I also tried adding "Listen 4343 https" to the httpd.conf file to no avail.









share|improve this question













share|improve this question




share|improve this question








edited Dec 23 '17 at 15:42

























asked Dec 23 '17 at 2:40









Needs More Documentation

11




11







  • 3




    Blind guess: have you ruled out firewall issues?
    – Ulrich Schwarz
    Dec 23 '17 at 7:33










  • take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
    – Î±Ô‹É±Ò½Ôƒ αмєяιcαη
    Dec 23 '17 at 7:56










  • Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
    – Needs More Documentation
    Dec 23 '17 at 15:39












  • 3




    Blind guess: have you ruled out firewall issues?
    – Ulrich Schwarz
    Dec 23 '17 at 7:33










  • take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
    – Î±Ô‹É±Ò½Ôƒ αмєяιcαη
    Dec 23 '17 at 7:56










  • Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
    – Needs More Documentation
    Dec 23 '17 at 15:39







3




3




Blind guess: have you ruled out firewall issues?
– Ulrich Schwarz
Dec 23 '17 at 7:33




Blind guess: have you ruled out firewall issues?
– Ulrich Schwarz
Dec 23 '17 at 7:33












take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
– Î±Ô‹É±Ò½Ôƒ αмєяιcαη
Dec 23 '17 at 7:56




take a look docs.aws.amazon.com/elasticloadbalancing/latest/classic/…
– Î±Ô‹É±Ò½Ôƒ αмєяιcαη
Dec 23 '17 at 7:56












Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
– Needs More Documentation
Dec 23 '17 at 15:39




Yikes, thanks Ulrich. I needed that kick in the head as I changed the port as I thought another service might be using it but forgot to change the firewall. However the page is still unavailable so rather than have this be a waste of index space I'll rephrase the main question
– Needs More Documentation
Dec 23 '17 at 15:39















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412622%2fhow-to-change-https-port-on-apache-on-linux%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412622%2fhow-to-change-https-port-on-apache-on-linux%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay