Missing port from hostname

I can’t submit ajax on a port forwarded connection because the port after the hostname is missing
Also in device settings the tabs miss the port after hostname