Occupied ports and notifications
還沒有人認領這個 Issue。
評估
研究方向
從 bin/middleman server 命令以及描述 http://localhost:4567 的文件開始。檢查該命令如何處理已被佔用的連接埠和啟動時機;完成的標準是它選擇或回報一個可用的本機 URL,且文件說明何時以及要連線到哪裡。
由索引模型根據 Issue 內容生成。
描述
I did:
bin/middleman server
The documentation then says:
Then visit http://localhost:4567.
However nothing happened there. This may be because I have had a sinatra app
running on that port.
Would it be possible for TryRuby to first check for open ports;
then use an open port; and also on the commandline show
which local URL I could use? Sinatra does that by the way.
Edit: Actually it now works at:
Perhaps the documentation can mention that we should wait a bit?
It seems it took a few seconds or so. Now it works hmmm.
- 主要語言
- Ruby
- 星號
- 258
- 分支
- 113
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ruby/TryRuby 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 64/100
-
docs: clarify default parameter behavior in section Quickening it Up and fix Portuguese translation typo可能已有人在做 @MatheoPaiva 於 2 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 40/100
-
難度 4/5 3-5 天 新手友好度 25/100
-
難度 2/5 1-3 小時 新手友好度 48/100
-
難度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
🐛 bug 👩💻 équipe CE 🧑🏭 entreprises
難度 2/5 1-3 小時 新手友好度 76/100
betagouv/conseillers-entreprises#4808 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
yosiat/panko_serializer#250 ·
-
難度 1/5 1 小時以內 新手友好度 75/100
cline/mcp-marketplace#3886 ·
-
難度 2/5 1-3 小時 新手友好度 78/100