#failing on occupied port

14 messages · Page 1 of 1 (latest)

mellow violet
#

I observed that the ui does not appear when the port is occupied buy another process. Invoke should then try to use another port or is there a way to pass a port?

bright nexus
#

args.py is where it's default is set

#

ldm/invoke/args.py

#

Line 637

#

That being said you can use the --port flag when launching invoke.py

#

If you were to modify anything, it should probably be invoke.bat

#

I believe it would be line 16 or 19 you would append the --port #### flag to.

mellow violet
#

I guess the flag gets lost when using bat or sh right?

bright nexus
#

I thought the call to invoke.py passed the args

#

but I could be mistaken

mellow violet
#

It might be the cause of a lot of issues here where people saying that the ui does not start, could be because of the port

bright nexus
#

If you can't seem to get it to pass the args for whatever reason just modify args.py

#

the defaults that is.

#

YMMV and it might break something though, so just revert it if it doesn't work.