Linux HTTP 调用时连接到 127.0.0.1 端口 8888 的终端
Linux terminal connecting to 127.0.0.1 port 8888 on HTTP calls
我正在使用 ubuntu 14.04,LAMP 堆栈在端口 80 上工作和侦听。
我不完全记得出了什么问题,现在我从终端发出任何 http 请求,它尝试连接到端口 8888 上的 127.0.0.1(端口 8888 不存在)。任何有关解决此问题的指导将不胜感激。
wget http //nmap.org/dist/nmap-5.51.tar.bz2
--2017-06-13 15:20:11-- http://http/
Connecting to 127.0.0.1:8888... failed: Connection refused.
//nmap.org/dist/nmap-5.51.tar.bz2: Scheme missing.
git pull
fatal: unable to access 'https://github.com/SwipBox/admin.git/': Failed to connect to 127.0.0.1 port 8888: Connection refused
这个命令
wget http //nmap.org/dist/nmap-5.51.tar.bz2
需要:
wget http://nmap.org/dist/nmap-5.51.tar.bz2
此外,请确保您没有定义任何环境变量,例如 http_proxy
。如果有疑问,将 --no-proxy
传递给 wget 的命令行。
我正在使用 ubuntu 14.04,LAMP 堆栈在端口 80 上工作和侦听。 我不完全记得出了什么问题,现在我从终端发出任何 http 请求,它尝试连接到端口 8888 上的 127.0.0.1(端口 8888 不存在)。任何有关解决此问题的指导将不胜感激。
wget http //nmap.org/dist/nmap-5.51.tar.bz2
--2017-06-13 15:20:11-- http://http/
Connecting to 127.0.0.1:8888... failed: Connection refused.
//nmap.org/dist/nmap-5.51.tar.bz2: Scheme missing.
git pull
fatal: unable to access 'https://github.com/SwipBox/admin.git/': Failed to connect to 127.0.0.1 port 8888: Connection refused
这个命令
wget http //nmap.org/dist/nmap-5.51.tar.bz2
需要:
wget http://nmap.org/dist/nmap-5.51.tar.bz2
此外,请确保您没有定义任何环境变量,例如 http_proxy
。如果有疑问,将 --no-proxy
传递给 wget 的命令行。