Home › ELEKTOR FORUMS › DigiButler (April & May 2008) › How to change the webserver port (now 80)

ELEKTOR FORUMS

Please log in to post a reply or subscribe / unsubscribe to topics

Topic: How to change the webserver port (now 80)

Author Post

georgedb

49 posts

Occasional Visitor
Occasional Visitor

Read post 23-10-2011 15:13

As I have a NAS running on port 80, I'd like to use a port number like 8000 of 8080 for the Digibutler. Can it be changed and if so where?

ponedelnik

10 posts

Popping In
Popping In

Read post 24-10-2011 02:25

Why would you want to do that ?
I suppose your NAS has its own IP address (different from the Digibutler's), so there shouldn't be any conflict ?

georgedb

49 posts

Occasional Visitor
Occasional Visitor

Read post 24-10-2011 08:15

www.xyz.com:80

versus

www.xyz.com:8080

I'd need to reroute that, don't I?

ponedelnik

10 posts

Popping In
Popping In

Read post 24-10-2011 19:52

What are you using as IP addresses ?

georgedb

49 posts

Occasional Visitor
Occasional Visitor

Read post 24-10-2011 21:01

Actually, that could be any IP address... But, I know how it works now:

www.myserver.com looks up IP address 123.456.78.90 through DNS. Both my NAS and the Digibutler have their own internal IP address.

By using port forwarding, I can (that is: my router can), I can route traffic to port 80 to my NAS on IP address X and traffic on port 8080 to my Digibutler on IP address Y. Both still listen on port 80 though.

So, 1 external IP address for both, 2 different ports, port forwarding and each applicance its own internal IP address. As I'm not home at the moment, I haven't checked if this works, but I had similar logic when I had 2 network switches attached to my router, so it should work.

So, indeed, no need to change the port the Digibutler listens to, only port forwarding...

Please log in to post a reply or subscribe / unsubscribe to topics

Follow Elektor

      

Act now!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF