草庐IT

parallel-port

全部标签

[ Windows ] ping IP + Port 测试 ip 和 端口是否通畅

开发过程中经常会黑窗口中手动测试一下计划请求的目标ip和端口是否通畅,测试方式如下:一、单纯测试ip是否能够ping通,这个比较熟悉了,运行cmd打开黑窗口输入如下指令,能够如下提示信息,表示端口是通畅的。pingip(如:127.0.0.1)二、黑窗口测试ip+端口如果仍然使用ping的命令方法,就出现错误提示了。这里就需要使用到另外一个指令:telnetipport(如:127.0.0.18888)能看到这里,并且此时直接使用此命令,大概率此命令是不通的,因为使用此命令需要提前开启Windows的Telnet客户端功能,开启方式如下:以上windows功能开启后再次尝试:如果目标ip和端口

pip报错:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘...‘, port=443)

问题:今天在使用pip下载python-docx的时候,报错下面的信息ERROR:CouldnotinstallpackagesduetoanOSError:HTTPSConnectionPool(host=‘files.pythonhosted.org’,port=443):Maxretriesexceededwithurl:/packages/8b/a0/52729ce4aa026f31b74cc877be1d11e4ddeaa361dc7aebec148171644b33/python-docx-0.8.11.tar.gz(CausedbyConnectTimeoutError(,‘Co

Nginx配置-SSL&The plain HTTP request was sent to HTTPS port解决

Nginx配置-SSL准备ssl证书配置示例配置强制http访问也走https准备ssl证书可以直接从阿里云控制台申请免费证书(每年20个,每个有一年有效期)也可以使用自签证书,Nginx解决通过openssl自签名证书访问Https报不安全告警的问题配置示例upstreamtomcatserver{server127.0.0.1:8801max_fails=3fail_timeout=3s;server127.0.0.1:8802max_fails=3fail_timeout=3s;}server{listen8888ssl;server_namelocalhost;ssl_certific

abd设备连接问题* daemon not running. starting it now on port 5037 *ADB server didn‘t ACK* failed to star

有时候,当我们执行adbdevices或者adbstart-server的时候,会出现下面的情况:*daemonnotrunning.startingitnowonport5037*ADBserverdidn'tACK*failedtostartdaemon* 查一下daemon是个什么东西,daemon字面意思就是守护进程。那么它为什么会有问题呢?1、首先,先杀掉adb进程再重启试试adbkill-serveradbstart-server 如果这样可以解决最好,不行就继续第二步。2、输入:adbnodaemonserver系统会提示:cannotbind‘tcp:5037’说明是adbse

解决使用git时遇到Failed to connect to github.com port 443 after 21090 ms: Couldn‘t connect to server

先试试你能直接访问GitHub:Let’sbuildfromhere·GitHub吗?你是直接就可以访问成功还是挂梯子之后访问成功的呢?一、如果是在挂着梯子的情况下拉取或者推送代码的时候是否遇到了报错?fatal:unabletoaccess'https://github.com/xxx/******.git/':Failedtoconnecttogithub.comport443after21090ms:Couldn'tconnecttoserver一般出现这种问题都是开过VPN导致的本机系统端口号和git的端口号不一致导致的。解决办法:1.查看本机系统端口号:设置->网络和Internet

解决Failed to connect to github.com port 443:connection timed out的问题

原因因为用了梯子或者代理,导致端口号发生变化解决方案使用指令修改git通过的端口号,我用的代理是7890gitconfig--globalhttp.proxy"localhost:7890"查看你代理设置的http.proxy这一项,修改成你自己用的代理端口号即可如果要取消这一设置,使用指令即可gitconfig--global--unsethttp.proxy

解决requests.exceptions.ProxyError: HTTPSConnectionPool(host=‘api.github.com‘, port=443): Max retries

一般来说,出现这种错误的原因可能是以下之一:代理设置错误:你的计算机或网络环境可能配置了代理服务器,但代理服务器设置可能不正确。你需要检查你的代理设置是否正确,并确保它们与你的网络环境相匹配。代理服务器不可用:如果代理服务器无法访问或不可用,你可能会遇到这个问题。确保代理服务器正常运行,并且你可以连接到它。网络连接问题:如果你的计算机或网络连接存在问题,可能会导致这个错误。确保你的网络连接正常,没有任何问题。解决办法:控制面板->Internet选项->连接->局域网设置->代理服务器取消勾选

解决unable to access ‘https://github.com/XXX‘: Failed to connect to github.com port 443 after 21093 ms

问题:GitHub拉代码时报错Clonefailedunabletoaccess'https://github.com/majiang666/vue-pdf.git/':Failedtoconnecttogithub.comport443after21093ms:Timedout解决方法有两种,如下方法一:登录GitHub账号后再拉取代码方法二:在GitHub前面加上username:passwords@,例:https://username:passwords@github.com/

ruby-on-rails - 如何在 localhost/<my_port> 上运行 Rails 3 应用程序?

要在Windows上运行Rails应用程序,我会这样做:cdrails服务器我看到以下内容:=>BootingWEBrick=>Rails3.0.1applicationstartingindevelopmentonhttp://0.0.0.0:3000=>Callwith-dtodetach=>Ctrl-Ctoshutdownserver[2011-01-1220:32:07]INFOWEBrick1.3.1[2011-01-1220:32:07]INFOruby1.9.2(2010-08-18)[i386-mingw32][2011-01-1220:32:07]INFOWEBric

git clone报错 unable to access ‘xxx‘: Failed to connect to xxx port 80 after 21102 ms: Timed out

首先查看配置信息,查看是否为当前用户,是否有代理gitconfig--global-l如果有代理,删除gitconfig--global--unsethttp.proxygitconfig--global--unsethttps.proxy再执行clone如果还不行则cmd打开执行telnetip端口(注意ip,端口中间没有任何符号)telnet打开方式: