{"id":19928,"date":"2025-05-02T20:11:06","date_gmt":"2025-05-02T12:11:06","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=19928"},"modified":"2025-05-18T16:50:14","modified_gmt":"2025-05-18T08:50:14","slug":"stable-diffusion-webui-%e5%90%af%e5%8a%a8%e6%97%b6%e6%8a%a5%e9%94%99%ef%bc%9awhen-localhost-is-not-accessible-a-shareable-link-must-be-created-please-set-sharetrue-or-check-your-proxy-settings-to-a","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=19928","title":{"rendered":"Stable Diffusion Webui \u542f\u52a8\u65f6\u62a5\u9519\uff1aWhen localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost."},"content":{"rendered":"<p>\u5f88\u4e45\u6ca1\u6709\u4f7f\u7528 Stable Diffusion \u4e86\uff0c\u73b0\u5728\u8ba1\u5212\u7528\u5b83\u6765\u8bbe\u8ba1\u8f6f\u4ef6\u7684 logo\uff0c\u521a\u624d\u914d\u7f6e\u73af\u5883\u62a5\u9519<\/p>\n<pre><code class=\"language-bash\">C:\\tools\\stable-diffusion-webui-1.10.1\\venv\\lib\\site-packages\\huggingface_hub\\file_download.py:896: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n  warnings.warn(\nRunning on local URL:  http:\/\/127.0.0.1:7860\nTraceback (most recent call last):\n  File &quot;C:\\tools\\stable-diffusion-webui-1.10.1\\launch.py&quot;, line 48, in &lt;module&gt;\n    main()\n  File &quot;C:\\tools\\stable-diffusion-webui-1.10.1\\launch.py&quot;, line 44, in main\n    start()\n  File &quot;C:\\tools\\stable-diffusion-webui-1.10.1\\modules\\launch_utils.py&quot;, line 469, in start\n    webui.webui()\n  File &quot;C:\\tools\\stable-diffusion-webui-1.10.1\\webui.py&quot;, line 79, in webui\n    app, local_url, share_url = shared.demo.launch(\n  File &quot;C:\\tools\\stable-diffusion-webui-1.10.1\\venv\\lib\\site-packages\\gradio\\blocks.py&quot;, line 1971, in launch\n    raise ValueError(\nValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.\nApplying attention optimization: Doggettx... done.\nModel loaded in 10.6s (load weights from disk: 1.0s, create model: 2.8s, apply weights to model: 5.8s, apply half(): 0.1s, apply dtype to VAE: 0.1s, load textual inversion embeddings: 0.1s, calculate empty prompt: 0.4s).\n\u8bf7\u6309\u4efb\u610f\u952e\u7ee7\u7eed. . .<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/05\/image-1746186992060.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1117px; --smush-placeholder-aspect-ratio: 1117\/633;\" \/><\/p>\n<p>\u76f4\u63a5\u539f\u56e0\u5c31\u662f\u6211\u8bbe\u7f6e\u4e86\u4ee3\u7406\uff0c\u8fd9\u4e2a\u662f\u8bbe\u7f6e\u7ed9 cmd \u7684\uff0ccmd \u518d\u8fd0\u884c Stable Diffusion\uff0c\u8fd9\u4e2a\u4ee3\u7406\u4f1a\u628a\u672c\u5730\u5730\u5740\u4e00\u8d77\u4ee3\u7406\uff0c\u5bfc\u81f4\u6ca1\u6cd5\u6b63\u5e38\u5de5\u4f5c<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/05\/image-1746187251513.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 670px; --smush-placeholder-aspect-ratio: 670\/303;\" \/><\/p>\n<p>\u518d\u52a0\u4e00\u884c<\/p>\n<pre><code class=\"language-bash\">set no_proxy=localhost,127.0.0.1,::1<\/code><\/pre>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/05\/image-1746187816598.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 647px; --smush-placeholder-aspect-ratio: 647\/311;\" \/><\/p>\n<p>\u5c31\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u4e86<br \/>\n<img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/05\/image-1746187845416.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1116px; --smush-placeholder-aspect-ratio: 1116\/628;\" \/><\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2025\/05\/image-1746187855035.png\" alt=\"file\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" style=\"--smush-placeholder-width: 1299px; --smush-placeholder-aspect-ratio: 1299\/870;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u4e45\u6ca1\u6709\u4f7f\u7528 Stable Diffusion \u4e86\uff0c\u73b0\u5728\u8ba1\u5212\u7528\u5b83\u6765\u8bbe\u8ba1\u8f6f\u4ef6\u7684 logo\uff0c\u521a\u624d\u914d\u7f6e\u73af\u5883\u62a5\u9519 C: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"no","_lmt_disable":"no","footnotes":""},"categories":[642,1,643,611,595],"tags":[],"class_list":["post-19928","post","type-post","status-publish","format-standard","hentry","category-aigc","category-all","category-stable-diffusion","category-windows","category-595"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19928"}],"version-history":[{"count":2,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19928\/revisions"}],"predecessor-version":[{"id":19937,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/19928\/revisions\/19937"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}