# Changing jenkins port number to 443 in browser

**URL:** <https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402>\
**Category:** Using Jenkins\
**Created:** [May 16, 2023, 8:34am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402 "2023-05-16T08:34:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rachel](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Rachel](https://community.jenkins.io/u/Rachel)\
**Post date:** [May 16, 2023, 8:34am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/1 "2023-05-16T08:34:34Z")

</div>

Hi,

I would like to migrate the jenkins jobs from old server to new server. Jenkins installation on the old server was not done by me. I’m wondering why we are using 443 ([http://localhost:443/](http://localhost:443/)) in the browser. I checked Jenkins.xml file, but I see still this line (–httpPort=8080). Now when I install Jenkins on new server where should I configure this port number so that I can start in the browser with 443. Please help me in understanding. Thank you.

Regars,

Rachel

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [May 16, 2023, 9:46am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/2 "2023-05-16T09:46:23Z")

</div>

Do you have maybe also an nginx running in parallel that serves the 443 port and acts as a reverse proxy for your jenkins?

---

<div class="post-metadata">

**Author:** ![Rachel](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Rachel](https://community.jenkins.io/u/Rachel)\
**Post date:** [May 16, 2023, 9:59am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/3 "2023-05-16T09:59:26Z")

</div>

Hi, thanks for answering. I checked if nginx is installed on my machine.

$nginx -v  
‘$nginx’ is not recognized as an internal or external command,  
operable program or batch file

But it looks like its not installed. Please let me know how I can install Jenkins on port 443 instead of configuring it in Jenkins.xml file.  
Thanks.

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [May 16, 2023, 10:23am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/4 "2023-05-16T10:23:54Z")

</div>

Read the documentation

> **[Initial Settings](https://www.jenkins.io/doc/book/installing/initial-settings/)**
>
> Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software

---

<div class="post-metadata">

**Author:** ![Rachel](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Rachel](https://community.jenkins.io/u/Rachel)\
**Post date:** [May 16, 2023, 11:00am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/5 "2023-05-16T11:00:04Z")

</div>

thanks for the documentation.

Can I install the Jenkins on 8080 on the new server and restore the jobs from the old server? Is that possible or do I need to install only on 443 in order to make the jobs work?

Thanks

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [May 16, 2023, 11:26am UTC](https://community.jenkins.io/t/changing-jenkins-port-number-to-443-in-browser/7402/6 "2023-05-16T11:26:25Z")

</div>

Yes that is possible. The port has nothing to do with the job execution. Just make sure that the url configured in Jenkins is correct so that when you send out emails with links to jobs contain the correct url. That means that when you have a reverse proxy in front of Jenkins that you need to use this url. localhost is the wrong url (Jenkins will warn you when you use this).
