IPV6 addresses

New features and PHP versions are branded here
Post Reply
User avatar
mwiede
Site Admin
Posts: 34
Joined: Fri Oct 27, 2017 12:56 pm
Location: Germany
Contact:

IPV6 addresses

Post by mwiede » Fri Aug 04, 2023 11:09 am

WWebserver now resolv IPV6 addresses for hosts, for example localhost will bind only to IPV6 ::1 if available and not to the IPV4 127.0.0.1 address!

You should append the IPV4 address separated by comma to bind it twice:

Code: Select all

localhost,127.0.0.1
If you type in all then it will bind to the default IPV4 addresses of your system (visible from outside!).
To bind it also to the IPV6 addresses you should insert the IPV6 addresses separated by comma, for example:

Code: Select all

all,2a01:4f8:221:3107::2,::1
If you want to bind to a IPV6 address with extra port, you have to encapsulate it with brackets:

Code: Select all

all,[2a01:4f8:221:3107::2]:8080

Post Reply