zoukankan
html css js c++ java
服务无法访问的几种情况
四种可能
一、网络不通
用 ping 命令测试
二、服务没启动
用 ps -ef 命令或者 netstat 命令查看
三、端口不通
用 telnet 命令测试
1、防火墙需要放开对应端口
2、如果用的是阿里云的话,需要开放安全组
四、服务启动时,监听ip为127.0.0.1
如果要在服务所在机器之外的地方访问服务,最好将启动 ip 设置为 0.0.0.0
查看全文
相关阅读:
[LeetCode] 314. Binary Tree Vertical Order Traversal
[LeetCode] 139. Word Break
[LeetCode] 540. Single Element in a Sorted Array
[LeetCode] 1443. Minimum Time to Collect All Apples in a Tree
[LeetCode] 1442. Count Triplets That Can Form Two Arrays of Equal XOR
[LeetCode] 1441. Build an Array With Stack Operations
[LeetCode] 277. Find the Celebrity
[LeetCode] 1232. Check If It Is a Straight Line
[LeetCode] 10. Regular Expression Matching
[LeetCode] 1192. Critical Connections in a Network
原文地址:https://www.cnblogs.com/stone94/p/13977778.html
最新文章
泛型系列教材 (三)- Java 泛型通配符 ? extends super 的用法
泛型系列教材 (二)- Java 如何设计支持泛型的类
泛型系列教材 (一)- Java 什么是 泛型?
集合框架系列教材 (十八)- 其他
集合框架系列教材 (十七)- 其他
面向对象-数据保护与共享-常模块
UPC-排课表+玉米田(容斥原理+组合数学公式)
总结-易错细节
C++静态成员和友元成员的理解
牛客-小H的询问(线段树)
热门文章
牛客-xinjun与阴阳师(分组背包)
牛客-tokitsukaze and Soldier(贪心+stl优先队列)
UPC-放牛奶的冰箱(二分)
[LeetCode] 85. Maximal Rectangle
[LeetCode] 119. Pascal's Triangle II
[LeetCode] 166. Fraction to Recurring Decimal
[LeetCode] 402. Remove K Digits
[LeetCode] 163. Missing Ranges
[LeetCode] 228. Summary Ranges
[LeetCode] 987. Vertical Order Traversal of a Binary Tree
Copyright © 2011-2022 走看看