Unity Render Streaming Web Socket Connection Refused on iPhone Local Build

Render streaming works in my Unity Editor—displaying in the web app generated—but not when I make an iOS build to an iPhone.

When I make local builds from the XCode debugger, I get an error message that says: “Fatal | WebSocket.connect | Connection refused” and—maybe related—a message that says: “Other WebSocketSignaling exists with same URL:ws://127.0.0.1. Signaling process may be in conflict.”
The web app Receiver page stays black when I press the play button.

At first, I thought it may be a server configuration issue, so I set up a TURN server that I verified works, and added the TURN server url to both the web app and the Unity project. It has stayed the same.

I am using Unity 2021.3.17f and Render Streaming version 3.1.0-exp6. The camera in the project I’m using has Video Stream Sender, Broadcast, and Signaling Manager components configured based on Unity’s documentation.

Do you have any advice on how to fix this?

I was able to resolve this. I had to specify my computer’s IP in the web socket address instead of “ws://127.0.0.1” as I was no longer on the same device.

I didn’t understand this issue can you please explain in details.

I didn’t understand can you please explin in detail

You can set the signaling URL on the project settings window.
https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/settings.html