summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--continuedev/src/continuedev/server/main.py2
-rw-r--r--extension/src/activation/environmentSetup.ts6
2 files changed, 6 insertions, 2 deletions
diff --git a/continuedev/src/continuedev/server/main.py b/continuedev/src/continuedev/server/main.py
index 09adfa51..bbae2bb2 100644
--- a/continuedev/src/continuedev/server/main.py
+++ b/continuedev/src/continuedev/server/main.py
@@ -63,7 +63,7 @@ if __name__ == "__main__":
"-p", "--port", help="server port", type=int, default=65432
)
parser.add_argument(
- "-h", "--host", help="server host", type=str, default="127.0.0.1"
+ "--host", help="server host", type=str, default="127.0.0.1"
)
args = parser.parse_args()
except Exception as e:
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 4493a6af..3f82631f 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -194,7 +194,11 @@ export async function startContinuePythonServer(redownload: boolean = true) {
.getConfiguration("continue")
.get<boolean>("manuallyRunningServer") || false;
const serverUrl = getContinueServerUrl();
- if (serverUrl !== "http://localhost:65432" || manuallyRunningServer) {
+ if (
+ (serverUrl !== "http://localhost:65432" &&
+ serverUrl !== "http://127.0.0.1:65432") ||
+ manuallyRunningServer
+ ) {
console.log("Continue server is being run manually, skipping start");
return;
}