Test connectivity for the web service: Difference between revisions
Jump to navigation
Jump to search
→Test connectivity for the local web service
| Line 50: | Line 50: | ||
* Docker container {{kbd | key = docker ps}} to check if the container is running & expose the port<ref>[https://docs.docker.com/engine/reference/commandline/ps/ docker ps | Docker Documentation]</ref> | * Docker container {{kbd | key = docker ps}} to check if the container is running & expose the port<ref>[https://docs.docker.com/engine/reference/commandline/ps/ docker ps | Docker Documentation]</ref> | ||
=== | === Check if a port was occupied by other process? === | ||
Check the port if used by other protocol | Check the port if used by other protocol | ||
* [https://www.speedguide.net/ports.php SG TCP/IP Ports Database] | * [https://www.speedguide.net/ports.php SG TCP/IP Ports Database] | ||
* [https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers List of TCP and UDP port numbers - Wikipedia] | * [https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers List of TCP and UDP port numbers - Wikipedia] | ||
[[Find process running on port]] | [[Find process running on port]] | ||
| Line 75: | Line 71: | ||
// means the 80 port service is running | // means the 80 port service is running | ||
</pre> | </pre> | ||
=== Check if a port is blocked by browser === | |||
Check if a port is blocked by browser<ref>[https://blog.miniasp.com/post/2022/05/02/Dont-use-ERR_UNSAFE_PORT-for-your-website?fbclid=IwAR2y9D60H-j8-5T1zJixTU-L2ydbn7LgnWpG1v53fyaKCyuuqx2MqfU80fI 開發與部署網站時需注意不要使用到 ERR_UNSAFE_PORT 不安全的埠號 | The Will Will Web]</ref> | |||
* {{Chrome}} [https://chromium.googlesource.com/chromium/src.git/+/refs/heads/master/net/base/port_util.cc#52 net/base/port_util.cc - chromium/src.git - Git at Google] | |||
* [https://fetch.spec.whatwg.org/#port-blocking Fetch Standard] 2.9. Port blocking | |||
=== Is the port opened for external users? === | === Is the port opened for external users? === | ||