最近修改了下电脑的hosts文件,电脑就突然不能连接下载更新的服务器了,但是浏览器还能正常上网,这让我很是难受啊!!! 错误现象如下: 错误:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease 无法连接上 127.0.0.1:8989 (127.0.0.1). - connect (111: 拒绝连接) 错误:2 http://mirrors.aliyun.com/ubuntu xenial InRelease…
1.打开官网https://ohmyz.sh/ 在官网能看到下面的界面 有这两种自动安装的方式 个人本次选择的是: wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O - 1.打开终端输入安装的指令 sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" 安装过程中出现了失败拒绝连接的问…
你是否遇到过这种情况,在Linux以apt-get update 时更新的时候无法更新,提示一下内容 p { margin-bottom: 0.25cm; line-height: 120% } 错误:1 http://ppa.launchpad.net/diesch/testing/ubuntu zesty InRelease 无法连接上 127.0.0.1:42165 (127.0.0.1). - connect (111: 拒绝连接) 错误:2 http://archive.ubuntuk…
今天centos使用wget下载东西的时候出现了 看下是否开启了代理 yicunyiye@yicunyiye:~/redis$ export | grep -i proxy declare -x ftp_proxy="http://127.0.0.1:8118" declare -x http_proxy="http://127.0.0.1:8118" declare -x https_proxy="http://127.0.0.1:8118"…
这篇文章主要介绍了CentOS下php使用127.0.0.1不能连接mysql的解决方法,本文原因是SELINUX导致的连接失败,需要的朋友可以参考下 php代码很简单: 复制代码代码如下: $server="127.0.0.1";println("Begin");$link = mysql_connect($server,"mysql","mysql");if (!$link) {    die('Could not con…
php代码很简单: $server="127.0.0.1"; println("Begin"); $link = mysql_connect($server,"mysql","mysql"); if (!$link) { die('Could not connect: ' . mysql_error().mysql_errno()); } linux本机下使用php mysql.php 可以查看运行结果,但是 在我的windo…
问题如标题所示: 设置网卡开机自动启动: 实质linux是看一个网卡文件的配置,就是/etc/sysconfig/network-scripts/ifcfg-eth0 (这个文件名看你网卡名称而异,具体你到该目录看)里面的内容里,有个ONBOOT=no(改为yes). 首先确定连接设置为桥接的方式.键入ifup eth0重启一下系统键入ifconfig 看到inet Address发生改变了,不在是127.0.0.1再使用Xshell连接即可 解决方案来源 https://blog.csdn.n…
你看到的这个文章来自于http://www.cnblogs.com/ayanmw php代码很简单: $server="127.0.0.1"; println("Begin"); $link = mysql_connect($server,"mysql","mysql"); if (!$link) { die('Could not connect: ' . mysql_error().mysql_errno()); } lin…
检查telnet是否已安装: [root@hostuser src]# rpm -q telnet-serverpackage telnet-server is not installed[root@hostuser src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum install t…
转载自:http://www.cnblogs.com/xiaoit/p/3867573.html 1:启动MongoDB 2014-07-25T11:00:48.634+0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:10061 由于目标计算机积极拒绝,无法连接. 2:添加一配置文件 ##数据文件 dbpath=E:\ruanjian\MongoDB\data ##日志文件 logpath=E:\ruanjian…