首页
学习
活动
专区
圈层
工具
发布
综合排序最热优先最新优先
时间不限
再见,localhost
以前看 Localhost 感觉它就是个代号,最近研究云才越来越觉得这个名字的深切含义,甚至感到一丝惭愧,相见恨晚。这个词的表述也很达意:“Local”“Host”——本地的机器。 那 localhost 的反面是啥,no localhost ?合并一下取名 Nocalhost(https://nocalhost.dev)。 Localhost 是一个很伟大的发明,它使得开发者不需要网络环境就能完成网络应用的开发,极大的提高了开发调试的反馈循环。但历史的车轮滚滚向前,一代代技术推陈出新,曾经的辉煌都会被写入历史。 再见,localhost
腾讯云 CODING
2021-01-13
1.3K0
标签:
​再见,localhost
以前看 Localhost 感觉它就是个代号,最近研究云才越来越觉得这个名字的深切含义,甚至感到一丝惭愧,相见恨晚。这个词的表述也很达意:“Local”“Host”——本地的机器。 那 localhost 的反面是啥,no localhost ?合并一下取名 Nocalhost( https://nocalhost.dev )。 [sYNUDH.png] Localhost 是一个很伟大的发明,它使得开发者不需要网络环境就能完成网络应用的开发,极大的提高了开发调试的反馈循环。 再见,localhost! 前往感受云上开发新体验
腾讯云 CODING
2021-01-12
1.2K0
标签:
Access denied for user @localhost to
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' 提示:ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'。 今天又用这个试了试,却搞不定,在网上找了半天,终于发现是因为mysql数据库的user表里,存在用户名为空的账户即匿名账户,导致登录的时候是虽然用的是root,但实际是匿名登录的,通过错误提示里的''@'localhost
双面人
2019-04-10
2.5K0
标签:
启动spark localhost: ssh: Could not resolve hostname localhost: Name or service not known
可查看hosts文件 root@ubuntu:/home/xiaoye/zookeeper# vim /etc/hosts #127.0.0.1 localhost #127.0.1.1 ubuntu 192.168.26.140 ubuntu 192.168.26.141 ubuntu2 192.168.26.142 ubuntu3 看到localhost被注销掉了,那就试着把他放开 : root@ubuntu:/home/xiaoye/zookeeper# vim /etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu
全栈程序员站长
2022-08-09
1.7K0
标签:
Localhost何时要用HTTPS?
因此,当你看到http://localhost时,请将其理解为http://localhost:{PORT}或 http://127.0.0.1:{PORT}。 默认使用http://localhost 浏览器以一种特殊的方式对待http://localhost:虽然它是HTTP,但它大多表现得像一个HTTPS网站。 如果你没有自己的域名,你可以使用test或localhost(mysite.localhost)。test在浏览器中没有特殊处理,但localhost有。 Chrome和Edge对http://<name>.localhost有特殊支持 ,就像对localhost支持一样,它们将表现得很安全。 你之所以可以这样做(拥有像mysite.localhost这样的子域),是因为localhost不仅仅是一个主机名:它也是一个完整的顶级域名,就像com。
智影Yodonicc
2022-04-22
4.6K2
标签:
localhost 与 127.0.0.1 的区别
localhost和127.0.0.1频繁出现在各种网络及软件开发的场景之中。它们似乎指向同一个意义——那就是你的本地设备。那么,盘根究底,这两者到底有木有区别呢? 首先,我们需要明确localhost和127.0.0.1各自的定义。localhost:在计算机网络中,localhost是一个主机名(hostname),指的是当前你正在使用的设备。 解析过程的不同从结果来看,localhost和127.0.0.1都指向本机,但它们的工作方式存在差异。当我们使用localhost时,系统会通过DNS(域名系统)解析来将其转换为相应的IP地址。 使用localhost或127.0.0.1可以方便地访问本地开发服务器,无需通过外部网络。 # 通过localhost访问本地开发服务器curl http://localhost:8080# 或者使用IP地址curl http://127.0.0.1:8080网络软件测试开发网络应用或服务时,
软件架构师Michael
2024-08-07
6960
标签:
localhost 和 127.0.0.1 的区别
Localhost是什么? 简单来说,“localhost”是指你当前使用的计算机的主机名,通过TCP/IP等网络协议来访问你自己的机器。 当你在浏览器或命令行中输入“localhost”时,实际上是在告诉系统:“Shell想访问这台计算机”。 主机名:连接到网络的设备被赋予的一个名称。 Localhost:指的就是你所操作的这台机器。 Localhost 和 127.0.0.1 之间的主要区别 虽然 localhost 和 127.0.0.1 都指的是你自己的计算机,但它们之间还是存在一些差异: 格式区别: localhost 是一个主机名 在这个文件里,你会找到一个类似的条目: 127.0.0.1 localhost 这意味着,当你使用 localhost 时,系统会自动将其识别为 127.0.0.1。 同时拥有 localhost 和 127.0.0.1 主要是为了提高使用便捷性和灵活性: localhost:相比于输入一串数字 127.0.0.1,输入“localhost”要容易记忆和输入得多。
数据科学工厂
2024-12-30
1.8K0
标签:
MySQL ‘root’@’localhost’无法登录解决
我试了一下  #mysql -u root -p  提示”Access denied for user ‘root’@’localhost’ (using password: YES)” 因为年后有同事离职 之前配置数据库的同学没有给’root’@’localhost’和’root’@’ip’授权。  grant all privileges on . to ‘root’@’localhost’ identified by ‘mypassword’ with grant option;  grant 查了一下mysql -h localhost和mysql -h 127.0.0.1的区别,通过localhost连接到mysql是使用UNIX socket,而通过127.0.0.1连接到mysql是使用 看看状态:  mysql -h localhost > status  Connection id:     639  Current database: mysql  Current user:  
星哥玩云
2022-08-16
6.3K0
标签:
The connection to the server localhost:8080 was refused - did
k3s集群,Node节点出现这个报错:The connection to the server localhost:8080 was refused - did you specify the right
用户9323360
2022-01-04
2.6K0
标签:
创建本地 LocalHost SSL 证书
生成多域名证书 $ mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1 Using the local - "example.com" - "*.example.com" - "example.test" - "localhost" - "127.0.0.1" - "::1" # 证书文件输出在当前目录下 GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES2 重载 Nginx $ nginx -t && nginx -s reload 浏览器访问 https://localhost
YP小站
2020-06-04
4.1K0
标签:
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档