How to add IP:Port combo into cultures and hostname

Hello,

We’ve recently migrated over to Umbraco 17 from Umbraco 13. One big change we noticed is that we can no longer put an IP:Port combo into cultures and hostnames. Doing so results in an error saying “Invalid domain name detected…“. We would like to be able to do this to test specific functionalities within a development environment.

Is there a way to restore this functionality within Umbraco 17?

Thanks,

Eric

That is weird, I do that all the time! Do you include or exclude the scheme (http:// or https://)? And what specific version are you using?

Hi @Eric1243123

I’ve just tried this on v17 and it works for me:

Make sure you don’t have any leading or trailing spaces, or any other invalid characters in the hostname, etc.

Justin

IPV6 loopback isn’t supported if that’s the issue?

ps for further options..
For secured local testing dotnet dev-certs supports

Type Value
DNS name localhost
DNS name *.dev.localhost
DNS name *.dev.internal
DNS name host.docker.internal
DNS name host.containers.internal
IP address 127.0.0.1
IP address 0000:0000:0000:0000:0000:0000:0000:0001

@Luuk

I was in fact excluding the schema

@justin-nevitech

After looking at your example and using the schema it went through

Thanks for the help y’all!

Hi @Eric1243123

Great, thanks for letting us know.

I’m certain you used to be able to exclude the schema in previous versions but I could be wrong, maybe it has changed?

Justin