Hobba
New Member
- Jan 5, 2024
- 7
- 9
I am using everything provided from this video:
I have fully setup the hotel and it works fine on localhost on my vps.
My issue is making it public and connecting it to my domain.
I always seem to have trouble with this, if anyone can assist I would appreciate your help!
FIXED
I have resolved the issue, for anyone else having issues getting your hotel online for public here is the fix;
You need to change BOTH.
Nitro react > Public > "socket.url": "ws://VPS-IP-HERE:2096",
Nitro react > Build > "socket.url": "ws://VPS-IP-HERE:2096",
Also, if this doesn't work the first time. Try changing "ws" to "wss" and then back to "ws".
Portforward 2096 & 80 in firewall, Inbound only.
You must be registered for see links
I have fully setup the hotel and it works fine on localhost on my vps.
My issue is making it public and connecting it to my domain.
I always seem to have trouble with this, if anyone can assist I would appreciate your help!
FIXED
I have resolved the issue, for anyone else having issues getting your hotel online for public here is the fix;
You need to change BOTH.
Nitro react > Public > "socket.url": "ws://VPS-IP-HERE:2096",
Nitro react > Build > "socket.url": "ws://VPS-IP-HERE:2096",
Also, if this doesn't work the first time. Try changing "ws" to "wss" and then back to "ws".
Portforward 2096 & 80 in firewall, Inbound only.
Last edited: