๐Ÿ˜Ž ๊ณต๋ถ€ํ•˜๋Š” ์ง•์ง•์•ŒํŒŒ์นด๋Š” ์ฒ˜์Œ์ด์ง€?

[error] socket.gaierror: [Errno -2] Name or service not known ๋ณธ๋ฌธ

๐Ÿฆ™ ALPACA/Error

[error] socket.gaierror: [Errno -2] Name or service not known

์ง•์ง•์•ŒํŒŒ์นด 2022. 9. 27. 09:56
728x90
๋ฐ˜์‘ํ˜•

dash ๋ž‘ socket ์—์„œ

  • error ๋ฐœ์ƒ

๋‚œ ๊ตฌ๊ธ€๋งํ•ด์„œ ํ•˜๋ผ๋Š”๊ฑฐ ๋ฌด์ž‘์ •..ํ•ด๋ฒ„๋ฆผ

๊ทธ๋Ÿฌ๋ฉด ์–ด๋Š ์ˆœ๊ฐ„ ๋˜์–ด์žˆ์Œ

sudo apt-get install python

sudo python -m pip install dash==version
sudo apt update -y

sudo apt-get install openssh-server

 

  • http://x86_64-conda-linux-gnu:8050/ ์ด๋ผ์„œ ๊ทธ๋Ÿฐ๊ฐ€.. host ๋ฐ”๊พธ๊ธฐ
if __name__ == '__main__':
    app.run_server(debug=True,host = '127.0.0.1')

 

 

728x90
๋ฐ˜์‘ํ˜•
Comments