windows 配置host
windows 下如何配置host文件
只需修改:
C:\Windows\System32\drivers\etc\hosts
默认文件内容如下:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
如果我们要添加某个主机,可以如下操作
127.0.0.1 test.mine.com
设置完成后,我们通过http://test.mine.com就能 直接访问,而不是输入http://localhost
windows 配置host相关推荐
- nginx学习文档之二 配置负载均衡-windows配置负载均衡
#windows配置负载均衡 nginx+tomcat负载均衡的意思大概如下图: 所有请求先经过nginx服务器,然后由nginx服务器进行转发,将请求根据配置需要分发给指定的tomcat服务器 ## ...
- windows script host是什么意思,windows based script host
window power shell与命令提示符哪个好用 windowpowershell相对于命令提示符来说,更加符合语言习惯,更好用一点. WindowsPowerShell是一种命令行外壳程序和 ...
- win10家庭版下面修改配置host文件虚拟主机
换了电脑,用的是正版win10家庭版,很多专业功能被限制了,其中对于程序员来说,很重要的一个事情变得没有以前那么容易了--配置host文件!如果还行以前那样弄的话,文件是保存不了,提示权限不足!不信的 ...
- switchhosts怎么配置host?
switchhosts怎么配置host?SwitchHosts支持直接对host文件进行编辑,用户可以快速添加自己的host解析规则,SwitchHosts也支持在多个host方案直接快速的切换,那要 ...
- golang github.com/Nik-U/pbc使用前windows配置
golang github.com/Nik-U/pbc使用前windows配置 windows安装pbc 1.安装mingw64 2.安装msys 3.编译GMP 1.检测gcc 2.下载gmp的源码 ...
- #vue# 【二】本地电脑如何配置host文件?
#vue# 本地电脑如何配置host文件? (1)host概念 在进行请求接口之前,我们需要先配备好host Hosts:它是一个没有扩展名的系统文件, 而它的的基本作用,就是将一些我们个人常用的网址 ...
- Windows配置远程访问的Jupyter Notebook服务器
Windows配置远程访问的Jupyter Notebook服务器 jupyter notebook --generate-config jupyter notebook jupyter notebo ...
- windows配置nginx实现负载均衡集群
windows配置nginx实现负载均衡集群 2014-08-20 09:44:40 来源:www.abcde.cn 评论:0 点击:617 网上大部分关于nginx负载均衡集群的教程都是li ...
- 删除json中的指定元素_DeleteFile,VBA中借助Windows Scripting Host删除指定文件
大家好,我们今日继续讲解VBA代码解决方案的第69讲内容:利用Windows Scripting Host(WSH),删除文件.在Windows Scripting Host(WSH)中删除文件可以用 ...
最新文章
- 一行代码实现Okhttp,Retrofit,Glide下载上传进度监听
- “跟着菜鸟一起学R语言” 现已更名为“数据志”
- mysql error manager,MYSQL Starting MySQL. ERROR! Manager of pid-file quit without updating file
- 握手失败_拜托了,看完这篇别再问我什么是TCP三次握手和四次挥手
- sklearn自学指南(part29)--高斯混合模型
- 三星s10能升级android11,三星 S10+手机已在测试 Android 11 系统
- nagios-3种报警方式–声音–email/邮件—短信
- c gui qt 4编程第二版_我的QT5学习之路(一)——浅谈QT的安装和配置
- iphonexr电池容量_初代手机到iPhone 12,从电池容量变化看充电功率的发展
- python语法简洁清晰特色之一是强制用什么作为语句缩进_Python解决矩阵问题
- 生日python十种日期格式_Python可视化-二十四节气与生日间隔天数统计
- JDK8 官方下载地址
- 面试要求 熟悉linux系统,Linux面试中最常问的10个问题总结
- Android音视频编辑器架构图与分析
- dependencyManagement 失效
- 织梦php 文章采集规则,dede自带采集器的高阶技巧
- Windows下使用gFortran,VScode+MinGW
- 机器人理论(3)DH表达法:解析关节轴之间的关系
- selenium-爬取公众号0.2
- 基于李雅普诺夫函数的跟踪控制(二)