欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Coursera无法播放视频

程序员文章站 2023-12-30 19:28:40
...


前言


一、方法

修改Host

二、步骤

1.找到电脑中的Hosts文件

文件位置C:\Windows\System32\drivers\etc\hosts,用Notepad++以管理员方式打开

2.获取对应的IP

进入网站http://ping.chinaz.com/ Ping取 d3c33hcgiwev3.cloudfront.net和 d3njjcbhbojbot.cloudfront.net 对应的IP

3.修改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
54.192.19.224 d3c33hcgiwev3.cloudfront.net
54.240.160.74 d3njjcbhbojbot.cloudfront.net

4.刷新Hosts

cmd运行指令ipconfig/flushdns


总结

Good Good Study, Day Day up
相关标签: host

上一篇:

下一篇: