rojo-rbx / run-in-roblox

Run a place, model, or individual script inside Roblox Studio, integrating with command line tools
MIT License
53 stars 22 forks source link

Default port does not work #27

Open Djboy08 opened 2 years ago

Djboy08 commented 2 years ago

I was having issues with the following error whenever I attempted to run run-in-roblox:

PS S:\Projects\ProjectVampire\main> F:\justi\run-in-roblox-0.3.0-win64\run-in-roblox.exe --place ./test.rbxl --script ./ci.lua > ./test-out.txt
thread '<unnamed>' panicked at 'error binding to 127.0.0.1:50312: error creating server listener: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013)', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\hyper-0.12.35\src\server\mod.rs:116:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread '<unnamed>' panicked at 'called Result::unwrap() on an Err value: Timeout reached while waiting for Roblox Studio to come online', src/main.rs:75:9
[ERROR run_in_roblox] receiving on a closed channel

Someone in the open-source discord server suggested I recompile with a different port and then it started running. Their reasoning was that the port may conflict with a Windows 11 port. So I thought I would open a issue here about it for anyone else having this problem :).

franydev commented 9 months ago

Hello! I am currently working on a --port parameter for overriding the port since I have the same issue. I will be probably done today.

franydev commented 9 months ago

Pull request #28