如果我们某些web服务工作在非80端口,在URL地址栏后面输上端口挺麻烦的,不如在web页面中加一个跳转,多方便。
代码如下:
<html>
<head>
<title>跳转页</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=gb2312″>
</head>
<body onload=”javascript:location.href=‘http://tt.networkquestions.org:8080’“>
</body>
</html>
红色部分为想要跳转到的页面+端口号。
原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/569.html