Unable to change https port

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Unable to change https port

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Unable to change https port
Unable to change https port
2023-03-02 05:32:30 - last edited 2023-03-08 14:19:52

I have a brand new install, 5.9.9, and when changing the https port then rebooting the controller will not longer start. I have seen many other threads on here and the only way to fix this is to modify entries in mongo and the  omada.properties file does nothing.

 

I should mention I have attempted the install on older versions as well, with no luck, Is there a way to get port 443 working on this?>

  0      
  0      
#1
Options
1 Accepted Solution
Re:Unable to change https port-Solution
2023-03-08 14:19:45 - last edited 2023-03-08 14:19:52

TP-Link got back with me and sent this on how to fix the controller without reinstalling / modifying the DB.. Also the reason behind not being able to use 443, I think there should be a dissclaimer as if you choose 443 then it might not work.. anywho..

 

https://www.tp-link.com/us/support/faq/3429/

 

 

Recommended Solution
  0  
  0  
#10
Options
9 Reply
Re:Unable to change https port
2023-03-02 07:11:27

  @Myk3 

it seems it does not work at all. changing that makes no difference. i am able to reach localhost by default 8043. 

maybe it's a bug or, maybe cache?

ScReW yOu gUyS. I aM GOinG hoMe. —————————————————————— For heaven's sake, can you write and describe your issue based on plain fact, common logic and a methodologic approach? Appreciate it.
  0  
  0  
#2
Options
Re:Unable to change https port
2023-03-02 20:49:58
yeah the only problem is, at least in my case, after changing the value in the GUI the controller will no longer load. So either you have to modify the DB or reinstall the controller.. seems half baked at best,.
  0  
  0  
#3
Options
Re:Unable to change https port
2023-03-02 21:03:32 - last edited 2023-03-02 21:03:56
  0  
  0  
#4
Options
Re:Unable to change https port
2023-03-06 22:42:00 - last edited 2023-03-06 22:43:08

 For what it is worth.. I am attempting to put this site behind cloudflare, cause you know people.. anywho.. Since I am unable to modify the port to 443 I am unable to..

 

Cloudflare does not support port 8043 with the free version..

HTTPS ports supported by Cloudflare 443 2053 2083 2087 2096 8443
 

How to enable Cloudflare’s proxy for additional ports:

If traffic for your domain is destined for a different port than the ones listed above, for example you have an SSH server that listens for incoming connections on port 22, either:

Change your subdomain to be grey clouded via your Cloudflare DNS app, to bypass the Cloudflare network and connect directly to your origin.

Configure a spectrum applicatioin for the hostname running the server. Spectrum supports all ports. Spectrum for all TCP and UDP ports is only available on the Enterprise plan. If you would like to know more about Cloudflare plans, please reach out to your Cloudflare account team.

  0  
  0  
#5
Options
Re:Unable to change https port
2023-03-07 04:25:04 - last edited 2023-03-07 04:26:03

  @Myk3 Since 5.9.9 is only out for Windows and Linux at this time, I'm confused as to why you can't do some simple port changing either at the OS or firewall level. 

What OS are you using for your controller, and is your controller platform seriously connected directly to the internet?  Perhaps it is cloud hosted?

 

EDIT for that matter, why not just use TPlink's own free cloud access platform?

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#6
Options
Re:Unable to change https port
2023-03-07 20:38:18

  @d0ugmac1 

 

yeah, system is a VPS hosted in the cloud.. I have limited it to only accessable through the ufw firewall, so it should be somewhat protected.. at least it will be once I get the port stuff figured out..

  0  
  0  
#7
Options
Re:Unable to change https port
2023-03-07 20:54:45

  @Myk3 

 

Ok, so one VPS provider I looked at, 'vultr' supports a variety of OS and some one click applications, one of which is Docker.  So why not run your controller as a Docker container and use that to remap ports between the container and the host IPs?  I've been running 5.9.9 in a Docker container on my NAS (albeit with host networking), but it should be trivial to do a 1:1 NAT for the required ports and then you can get on with your design.

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#8
Options
Re:Unable to change https port
2023-03-07 21:22:31

  @d0ugmac1 

 

For what it is worth, I was able to change the default port to 8443 and everything is working.. I have the firewall setup to only allow connections through cloudflare, which should givve me a decent level of protection..

  0  
  0  
#9
Options
Re:Unable to change https port-Solution
2023-03-08 14:19:45 - last edited 2023-03-08 14:19:52

TP-Link got back with me and sent this on how to fix the controller without reinstalling / modifying the DB.. Also the reason behind not being able to use 443, I think there should be a dissclaimer as if you choose 443 then it might not work.. anywho..

 

https://www.tp-link.com/us/support/faq/3429/

 

 

Recommended Solution
  0  
  0  
#10
Options