Web GUI conflicts with http server I want to run on port 80

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
tuxbyte
DD-WRT Novice


Joined: 24 Apr 2023
Posts: 2

PostPosted: Mon Apr 24, 2023 21:49    Post subject: Web GUI conflicts with http server I want to run on port 80 Reply with quote
Hi everyone Very Happy

I'm a first time poster but a long time user of DD-WRT on my R7000 (and absolutely loving it!). This is probably a stupid question, but I couldn't find an answer anywhere on the internet, so here goes: I'd like to serve an http server from a local computer publicly via port 80, but this obviously conflicts with the router's own web GUI. What's the correct solution here? I couldn't find a setting anywhere that puts the router's web GUI on another port. Ideally, I'd like to either have the web interface on a different port entirely or at least have the website available on port 80 when accessed from outside my local network. Or perhaps there's some completely different alternative here that I'm not seeing.

Thanks in advance for any help you guys have to give!
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Tue Apr 25, 2023 6:40    Post subject: Reply with quote
Hi and welcome to the forum...
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
When you post to the forum its good to start with, router brand/model and current firmware number..
It makes things better...

Well, you can disable http GUI and enable https if this will sort the issue..

otherwise you can change the GUI ports

log in via CLI (telnet or SSh)

nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot

Then access your router via
http://routeripaddress:8083

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Tue Apr 25, 2023 9:08    Post subject: Reply with quote
Alozaros wrote:

log in via CLI (telnet or SSh)

nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot

Just a reminder: can also be done using Admin->Command Shell->Commands of WEBUI.

Would be great if there is an option for http_lanport in the WEBUI, but will need extra work by the develoeprs. Smile

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Tue Apr 25, 2023 9:21    Post subject: Reply with quote
mwchang wrote:
Alozaros wrote:

log in via CLI (telnet or SSh)

nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot

Just a reminder: can also be done using Admin->Command Shell->Commands of WEBUI.

Would be great if there is an option for http_lanport in the WEBUI, but will need extra work by the develoeprs. Smile


I'll rather not use that GUI CLI option for anything..but use appropriate CLI via telnet or ssh..

And why would you need extra unnecessary futures, that you can edit via CLI..just wondering..?? Rolling Eyes

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
tuxbyte
DD-WRT Novice


Joined: 24 Apr 2023
Posts: 2

PostPosted: Tue Apr 25, 2023 9:46    Post subject: Reply with quote
Alozaros wrote:

nvram set http_lanport=8083 <---- Or whatever port you want
nvram commit
reboot


Thanks, worked like a charm!
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1857
Location: Hung Hom, Hong Kong

PostPosted: Tue Apr 25, 2023 9:59    Post subject: Reply with quote
Alozaros wrote:
I'll rather not use that GUI CLI option for anything..but use appropriate CLI via telnet or ssh..

And why would you need extra unnecessary futures, that you can edit via CLI..just wondering..?? Rolling Eyes

As long as the user knows SSH or telnet....

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Tue Apr 25, 2023 12:39    Post subject: Reply with quote
mwchang wrote:
As long as the user knows SSH or telnet....


tuxbyte wrote:
"I'd like to serve an http server from a local computer publicly via port 80"


I believe he knows very well how the SSh animal looks like... Laughing

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1935

PostPosted: Tue Apr 25, 2023 13:49    Post subject: Reply with quote
The webUI doesn't listen on the WAN port via http port 80 unless you configure it to. Realistically, all you should have to do is forward port 80 on the WAN to the specific static IP of your webserver, but apparently, this has been a problem in the past.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Tue Apr 25, 2023 14:12    Post subject: Reply with quote
dale_gribble39 wrote:
The webUI doesn't listen on the WAN port via http port 80 unless you configure it to. Realistically, all you should have to do is forward port 80 on the WAN to the specific static IP of your webserver, but apparently, this has been a problem in the past.


I recently checked and it was working for for me but YMMV (could be CTF/SFE related?)

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Tue Apr 25, 2023 14:59    Post subject: Re: Web GUI conflicts with http server I want to run on port Reply with quote
tuxbyte wrote:
I'd like to serve an http server from a local computer publicly via port 80...
...Or perhaps there's some completely different alternative here that I'm not seeing.

many years back I had trouble with 'Port Forward' so I just have always used 'Port Range Forwarding'

Twisted Evil
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum