---
title: "Bryan Huang (@ckscks038038) | Hashnode"
description: "Bryan Huang (@ckscks038038) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@ckscks038038"
---

@ckscks038038

# Bryan Huang

@ckscks038038 · Joined February 2024

### [The second Tuesday in March](https://ckscks038038.hashnode.dev/this-is-how-i-work-day2?utm_source=hashnode&utm_medium=feed)

Leetcode \* 4 run 15 mins, bicycling 15 mins Job applications for 2 hrs

1 min read · [ckscks038038.hashnode.dev](https://ckscks038038.hashnode.dev/this-is-how-i-work-day2?utm_source=hashnode&utm_medium=feed)

[Mar 13, 2024](https://hashnode.com/posts/this-is-how-i-work-day2/65f1e33fb400a32614e18964)

### [如何用Tomcat redirect port 80 to 8080](https://ckscks038038.hashnode.dev/tomcat-redirect-port-80-to-8080?utm_source=hashnode&utm_medium=feed)

最近剛好學校作業要求用Tomcat來部屬網站，需要把從port80得到的請求導向Tomcat預設的服務端口port8080，好讓使用者在網頁請求時不會看到醜醜的:8080。 沒用過Tomcat也不會寫Java(?，但想想它終究是個HTTP web server，應該有個地方可以設定一下吧。果然在tomcat/conf/ 路徑下，有個叫做server.xml 的檔案，裡面可以找到有個<Service>開頭的區塊，其中的port只要改成80就好。 於是我改了，但還是跑不動阿。查了Tomcat的Log...

1 min read · [ckscks038038.hashnode.dev](https://ckscks038038.hashnode.dev/tomcat-redirect-port-80-to-8080?utm_source=hashnode&utm_medium=feed)

[Feb 23, 2024](https://hashnode.com/posts/tomcat-redirect-port-80-to-8080/65d8c4d0842e0cd5ad6b6ea4)

### [如何讓 docker container connect to docker host](https://ckscks038038.hashnode.dev/docker-container-connect-to-docker-host?utm_source=hashnode&utm_medium=feed)

今天讀到docker doc\[1\]講到如何使docker container可以跟在本機上run的一個簡單的server溝通，想說就來簡單跑跑看。 文件中給的範例很簡單，如下： Run the following command to start a simple HTTP server on port 8000. python -m http.server 8000 If you have installed Python 2.x, run python -m SimpleHTTPSe...

1 min read · [ckscks038038.hashnode.dev](https://ckscks038038.hashnode.dev/docker-container-connect-to-docker-host?utm_source=hashnode&utm_medium=feed)

[Feb 15, 2024](https://hashnode.com/posts/docker-container-connect-to-docker-host/65cd553b1b8529f152dfbdab)
