Quick Guide on server and plugin setup for remote servers
To set up the plugin and server for connecting to remote instances of Automatic111's api, you have to make a few changes to the codebase. Effectively, all that must be done is changing the url/host that is expected for both the server and plugin to a suitable remote location. Then the install can be done as normal.
Therefore, in the following files simply find and replace all instances of 127.0.0.1:7860 with <desired host url>:7860:
- server/python_server/serverMain.py
- server/python_server/img2imgapi.py
- sdapi.js
it is important that any url accessing port 8000 be left alone these are meant to be part of the clients server and file handling.
I tested this setup with a headless remote server and a windows client using wsl2 for the server.
#8 Once this request is pulled this process won't be neccessary