I think previously if there were multiple separate...
# sst
r
I think previously if there were multiple separate applications running sst start then you'd get asked to specify a new port but just now (on latest version) it bombed out with
Copy code
Error: listen EADDRINUSE: address already in use :::12577
    at Server.setupListenHandle [as _listen2] (net.js:1320:16)
    at listenInCluster (net.js:1368:12)
    at Server.listen (net.js:1454:7)
    at Function.listen (/Users/rosscoundon/Documents/GitHub/wheres_my_tech/node_modules/express/lib/application.js:618:24)
    at Server.listen (/Users/rosscoundon/Documents/GitHub/wheres_my_tech/node_modules/@serverless-stack/cli/node_modules/@serverless-stack/core/dist/runtime/server.js:78:18)
    at startRuntimeServer (/Users/rosscoundon/Documents/GitHub/wheres_my_tech/node_modules/@serverless-stack/cli/scripts/start.js:311:10)
    at Object.module.exports [as start] (/Users/rosscoundon/Documents/GitHub/wheres_my_tech/node_modules/@serverless-stack/cli/scripts/start.js:154:9)

Waiting for the debugger to disconnect...
fatal error: all goroutines are asleep - deadlock!
                                                                                                                                        
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x0)
        runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0xc000180000)
        sync/waitgroup.go:130 +0x71
main.runService(0x1)
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:138|github.com/evanw/esbuild/cmd/esbuild/service.go:138> +0x4cb
main.main()
        <http://github.com/evanw/esbuild/cmd/esbuild/main.go:200|github.com/evanw/esbuild/cmd/esbuild/main.go:200> +0x1eb

goroutine 34 [chan receive]:
main.runService.func1()
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:66|github.com/evanw/esbuild/cmd/esbuild/service.go:66> +0x4b
created by main.runService
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:64|github.com/evanw/esbuild/cmd/esbuild/service.go:64> +0x212

goroutine 35 [chan receive]:
main.(*serviceType).sendRequest(0xc0001be140, {0x13f20a0, 0xc0029c4480})
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:163|github.com/evanw/esbuild/cmd/esbuild/service.go:163> +0xda
main.runService.func2()
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:92|github.com/evanw/esbuild/cmd/esbuild/service.go:92> +0x39
created by main.runService
        <http://github.com/evanw/esbuild/cmd/esbuild/service.go:89|github.com/evanw/esbuild/cmd/esbuild/service.go:89> +0x313
t
Think you can pass a --port flag but yeah we should fix this
r
ok, cool, ta
f
Opened an issue for this (@thdxr assigning it to myself as I need to make some port changes for the browser console) https://github.com/serverless-stack/serverless-stack/issues/958