I tried to redirect my server-mounted page to
192.168.xxx.xxx
a
192.168.xxx.xxx:8080/web/
using
window.location
window.location.href
document.location
document.location.href
windows.location.replace()
they all give me the same result
192.168.xxx.xxx/192.168.xxx.xxx:8080/web/
Any ideas or ways to do it?
html
<html>
<head>
<meta charset="UTF-8">
<title></title>
<META HTTP-EQUIV='Refresh' CONTENT='0; URL=http://192.168.XXX.XXX:8080/web/'>
</head>
<body>
<!--
<script>
function red(){
window.location.replace("http://192.168.XXX.XXX:8080/web/");
}
red();
</script>
-->
</body>
</html>