Groups
Groups
Sign in
Groups
Groups
NCCU Networking@MIS
Conversations
About
Send feedback
Help
AS01疑問
126 views
Skip to first unread message
Manda
unread,
Dec 4, 2023, 10:54:44 AM
12/4/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NCCU Networking@MIS
老師、助教好,
想請問,我執行了server的程式碼(前面import和後面的accept都沒有改動,只把port設成8888,更動的部分如以下擷圖),但嘗試在chrome瀏覽器開的時候卻一直跑不出來,不知道可以如何修正?
謝謝!
Prof. Hsiao
unread,
Dec 4, 2023, 2:05:08 PM
12/4/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NCCU Networking@MIS
請說明執行環境。
有防火牆嗎? 或是病毒偵測軟體?
你使用哪一個 ip 連接?
有看過 課程網頁上的 trouble shooting 文件嗎?
蕭舜文
Manda 在 2023年12月4日 星期一晚上11:54:44 [UTC+8] 的信中寫道:
Manda
unread,
Dec 5, 2023, 1:42:05 AM
12/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NCCU Networking@MIS
老師好,
執行環境是使用vscode,套用 python和 jupyter的套件。
在執行 socket_server.ipynb檔的時候,有把電腦的防火牆和病毒偵測的軟體都關掉。
查看ipconfig,連接的ip是 192.168.72.81
有看 Troubleshooting的文件,不過我執行後跳出的錯誤訊息是底下的訊息,不確定和 [Error 13]Permission denied 的關係?
Prof. Hsiao 在 2023年12月5日 星期二凌晨3:05:08 [UTC+8] 的信中寫道:
Prof. Hsiao
unread,
Dec 5, 2023, 1:49:13 AM
12/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NCCU Networking@MIS
Hi,
錯誤訊息是 list index out of range.
表示你有一個 list 型態的變數,
而你在取直的時候 超過 list 的容量。
這個問題與 socket programming 無關,
你要再看看是不是 python 語法的問題,
錯誤的行數在 serveClient 第 31 行有關。
蕭舜文
Manda 在 2023年12月5日 星期二下午2:42:05 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages