Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Error: listen EADDRINUSE: address already in use ort - webserver

Discussion in 'Unity Render Streaming' started by dan_soqqle, Oct 5, 2022.

  1. dan_soqqle

    dan_soqqle

    Joined:
    Feb 2, 2022
    Posts:
    114
    Hi i'm having this error when trying to start my server
    start websocket signaling server ws://127.0.0.1
    0|index | start as public mode
    0|index | Error: listen EADDRINUSE: address already in use ort

    ort is obviously not an address? And the port -1 looks funny.

    It's really quite weird because it works fine on my local machine. Note for this run i am using pm2 to start.
    pm2 start build/index.js -- -m public -w -port 3000

    However i've never been able to get the -port command to work in aws ubuntu. Is it an AWS issue?

    upload_2022-10-5_10-45-52.png

    On a separate note this ort popped out of nowhere? I also dont see it in my local

    upload_2022-10-5_11-2-39.png

    Any tips are welcome thanks!
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    I am not sure the process. Can you kill the process?
     
  3. dan_soqqle

    dan_soqqle

    Joined:
    Feb 2, 2022
    Posts:
    114
    There was nothing running at port "ort".

    it happens when i tried to set the --port 3000
    When i removed it then the ort issue went away. I also couldn't get the --port to work in Ubuntu AWS. I had to default it in the nodejs code

    I still dont know why.