Auto-Photoshop-StableDiffusion-Plugin icon indicating copy to clipboard operation
Auto-Photoshop-StableDiffusion-Plugin copied to clipboard

Port number is hardcoded as 7860 in multiple places in the code

Open bouchert opened this issue 2 years ago • 7 comments

Some installs of Automatic1111 need different port ranges. There should be some configurable way of setting the port if it is not the default.

bouchert avatar Dec 22 '22 01:12 bouchert

This would be a fairly easy issue to contribute a pull request fix for.

XenonofArcticus avatar Dec 22 '22 02:12 XenonofArcticus

Same issue here, my a1111 is using port:7861 but the plugin is connecting to 7860...

michelleeechan avatar Dec 22 '22 18:12 michelleeechan

Same issue here, my a1111 is using port:7861 but the plugin is connecting to 7860...

i just figured out that i can just add --port 7860 after the argument.

michelleeechan avatar Dec 22 '22 18:12 michelleeechan

@micmicmicmicmicchan

what did you end up changing? the webui-user.bat? i use port 7861 too

screan avatar Dec 22 '22 18:12 screan

@micmicmicmicmicchan

what did you end up changing? the webui-user.bat? i use port 7861 too

yes, just add [--port 7860] after [set COMMANDLINE_ARGS=] of [webui-user.bat] But, if some program is using the port 7860, it will come back with an error

michelleeechan avatar Dec 22 '22 18:12 michelleeechan

I've jsut merge #8 , pull and then edit the "start_server.bat"

set SD_URL=http://127.0.0.1:7860

set it to your remote auto1111 address, or just change the port if that is all you need. that should fix your

AbdullahAlfaraj avatar Dec 22 '22 23:12 AbdullahAlfaraj

hmm still cannot connect.

my mac connects to my PC running SD using http://192.XXX.XX.XX:7861

screan avatar Dec 23 '22 05:12 screan

@screan you can copy and paste your automatic1111 url into SD URL field in the setting tab. If that doesn't solve it, you should open an new issue.

AbdullahAlfaraj avatar Dec 31 '22 04:12 AbdullahAlfaraj