index.html opens, changes the address localhost, and refreshes frantically

daizhenbin168 注册会员
2023-02-28 16:17

Probably loading resources, fonts, pictures, etc.

tuoluzhe 注册会员
2023-02-28 16:17

Big brother, the first problem clearing cache solved, the second problem, how to find the port number, I don't know what it is

daiyuchun 注册会员
2023-02-28 16:17

Clear the browser cache and add the following code to the index.html file:

dn780617 注册会员
2023-02-28 16:17

If you change the address in the index.html file to localhost, the browser may be frantically refreshing the page because: The browser is trying to get resources from a remote server instead of the local host. This may be because you typed localhost in the address bar, but instead of interpreting it as a localhost, your browser tries to interpret it as a remote server.
To solve this problem, you can try clearing the cache in your browser and make sure your server is running and listening on the correct port. If you are using a development server, you can try using the address of the http://localhost: port number instead of localhost, which will ensure that the browser interprets the address correctly and gets resources from the localhost.

To get your browser to automatically open localhost, you can do this by adding the following code to your index.html file:

="refresh" content="0; url=http://localhost:端口号" />

This will automatically redirect the browser to the http://localhost: port number when the page opens. Note that you need to replace the port number with the actual port number you are using. In addition, if you are using a development server, you may need to adjust the configuration of the server so that the http://localhost: port number automatically opens when you start the server.

a1313jh 注册会员
2023-02-28 16:17
< div class = "md_content_show e397 data - v - 3967" = "" >

how do I want to solve the

e4qqqq 注册会员
2023-02-28 16:17

<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="欢迎来到净鞋工坊">
    <meta name="keywords" content="净鞋工坊">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
        <nav id="navbar">
            <div name="container">
                <h1><a href=" ">净鞋工坊h1>
                    <li><a class="current" href="index.html">首页li>
                    <li><a href="process.html">洗鞋流程li>
                    <li><a href="about.html">关于我们li>
                    <li><a href="contact.html">加盟我们li>
                    <li><a href="price.html">费用查询li>
                    <li><a href="register.html">注册|登录li>

        <div id="showcase">
            <div class="container">
                <div class="showcase-content">
                    <h1>欢迎来到 <span calss="text-primary">净鞋工坊span>h1>
                    <p>Welcome to the shoe washing shop

                    <p>客服电话: 400-4864-28X

                    <a class="btn" href="about.html">关于我们                 div>             div>         div>     header>     <section id="home-info">         <div class="info-img">div>         <div class="info-content">             <h2><span class="text-primary">净鞋工坊 span> 介绍h2>             <p>专为年轻人打造高端洗鞋的全国连锁品牌,<br>                 自2010年创立以来,始终坚持高质平价原则,<br>                 致力于推动中国洗鞋行业更好、更快的发展!                 让中国每个人享受                 高质平价的洗鞋服务!            

                          <a class="btn btn-light"  href="about.html">阅读更多         div>  
            <a class="btn btn-light"  href="about.html">阅读更多

    <section id="features">
        <div class="box bg-light">
            <i class="fa fa-users fa-3x">i>
            <p>团队由五个充满着创业激情的大学生组成,拥有团结、奋斗精神的团队。我们一直相信团结就是力量。 <br>

        div>         <div class="box bg-primary">             <i class="fa fa-leanpub fa-3x">i>             <h3>专业知识h3>             <p>  我们的技术包含专业的标洗、精洗工艺,特殊污渍专业去除技术,去染色串色技术,鞋面补伤、补漆技术,鞋面补色、改色技术,橡胶/水晶底去氧化技术,                 粘胶、鞋底修复技术,鞋面防水防油处理技术,去褶皱恢复技术,高泡干洗技术,断面修复技术,无痕缝补修复技术等。

        div>         <div class="box bg-light">             <i class="fa fa-graduation-cap fa-3x">i>             <h3>用户反映h3>             <p>经过市场多年的检验,客户对我们公司的评价好评如潮。<br>             售后满意度极高,十分相信我们的技术与服务,其中重复消费客服占比百分之八十。

        div>     section>         <div class="clr">div>     <footer id="main-footer">         <p>净鞋工坊 © 2023, ALL Rights Reserved

    footer> body> html>

< div class = " aw-list-img > img

< !- - - - - >
xuhui820407 注册会员
2023-02-28 16:17
< div class = "md_content_show e397 data - v - 3967" = "" >

eldest brother, I sent the comments section

dxh8678 注册会员
2023-02-28 16:17