ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

๐Ÿž Error

VScode live server ์ด์Šˆ

developer jungminji 2024. 8. 2. 21:54

ํŒ€ ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ ์ค‘.. VScode ๋กœ ๋ผ์ด๋ธŒ์„œ๋ฒ„๋กœ ํŒŒ์ผ์„ ์—ฌ๋Š”๋ฐ HTML ์ด ๋ Œ๋”๋ง ๋˜์ง€ ์•Š๊ณ  ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

์ด์ƒํ•œ ๊ฒƒ์€ ์™„์ „ํžˆ ๋˜‘๊ฐ™์€ ์ฝ”๋“œ๋กœ ์—ด์—ˆ๋Š”๋ฐ, ๋‹ค๋ฅธ ํŒ€์›๋“ค์€ ๋‹ค ์ž˜ ์—ด๋ฆฌ๊ณ  ๋‚˜๋งŒ ์•ˆ ์—ด๋ฆฌ๊ณ  ์žˆ๋˜ ์ƒํ™ฉ.. ์ด๊ฒƒ์€ ๋‚ด ์ชฝ์— ๋ฌธ์ œ๊ฐ€ ์žˆ๋Š” ๊ฒŒ ๋ถ„๋ช…ํ–ˆ๋‹ค...๐Ÿซฅ

 

์˜ค๋ฅ˜ ๋‚ด์šฉ

GET https://192.168.45.127:5500/css/main.css net::ERR_SSL_PROTOCOL_ERROR
GET https://192.168.45.127:5500/js/script.js net::ERR_SSL_PROTOCOL_ERROR
GET https://192.168.45.127:5500/favicon.ico net::ERR_SSL_PROTOCOL_ERROR

index.html:38 WebSocket connection to 'wss://192.168.45.127:5500/index.html/ws' failed: 
(anonymous)	@	index.html:38
(anonymous)	@	index.html:47

 

์›์ธ

ํŠœํ„ฐ๋‹˜๊ณผ ํŒ€์›๋ถ„๋“ค์˜ ๋„์›€์œผ๋กœ ์–ด์ฐŒ์ €์ฐŒ ํ•ด๊ฒฐํ•˜์˜€๋Š”๋ฐ, ์›์ธ์€ IP ์ฃผ์†Œ์— ์žˆ์—ˆ๋‹ค. ํŒ€์›๋ถ„๋“ค์€ ๋ผ์ด๋ธŒ์„œ๋ฒ„๋กœ ์—ด ๋•Œ ๋กœ์ปฌ ์„œ๋ฒ„ IP ์ฃผ์†Œ๊ฐ€ 127.0.0.1 ์ธ๋ฐ ๋‚˜๋Š” 192.168.45.127 ๋กœ ์—ด๋ฆฌ๊ณ  ์žˆ์—ˆ๋‹ค. GPT ๋กœ ์•Œ์•„๋ณธ ๊ฒฐ๊ณผ ํ•ด๋‹น IP ๊ฐ€ ๋กœ์ปฌํ˜ธ์ŠคํŠธ๋ฅผ ์•ˆ ์“ฐ๊ฒŒ ๋˜์–ด์žˆ๋‹ค๋Š” ๊ฒƒ์ด์—ˆ๋‹ค.

์›์ธ์€ ์ฐพ์•˜์ง€๋งŒ ์•„์ง ์ •ํ™•ํžˆ ์ดํ•ด๋Š” ๊ฐ€์ง€ ์•Š๋Š”๋‹ค. ใ…‹ใ…‹ ์™œ ์ € IP ์ฃผ์†Œ๋กœ ์—ด๋ฉด ์•ˆ ๋๋Š”์ง€.. ์‹œ๊ฐ„ ๋‚  ๋•Œ ๊ณต๋ถ€ ์ข€ ํ•ด์•ผ๊ฒ ๋‹ค.

 

ํ•ด๊ฒฐ

์šฐ์„  ๋‚˜๋Š” ๋‚ด ๋กœ์ปฌ์—์„œ ๋ผ์ด๋ธŒ์„œ๋ฒ„๋ฅผ ์—ด ๋•Œ 127.0.0.1 ๋กœ ์—ด๋ฆฌ๋„๋ก ์„ค์ •ํ–ˆ๊ณ , ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ๋‹ค.

 

  • VScode ์—์„œ ์•„๋ž˜์˜ ์„ค์ • ํŒŒ์ผ๋กœ ๋“ค์–ด๊ฐ€์„œ

 

 

  • true ๋ฅผ false ๋กœ ๋ณ€๊ฒฝ

์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
Total
Today
Yesterday
๋งํฌ