franse
January 8, 2026, 8:23pm
1
Wappler 7.5.2
Windows 10
NodeJS
Unable to set remote url under socket component:
Simple scenario, two projects:
http://localhost:3000
http://localhost:4000
When trying to use: http://localhost:3000 as remote url:
Page Includes: Head node changed successfully
Page Includes: Fixing a remote path from: http://localhost:3000/socket.io/socket.io.js to /socket.io/socket.io.js
Unable to change this:
<script src="/socket.io/socket.io.js" defer=""></script>
to this:
<script src="http://localhost:3000/socket.io/socket.io.js" defer=""></script>
franse
January 8, 2026, 9:22pm
2
Manually changed to
http://localhost:3000/socket.io/socket.io.js using vscode and got it working, so changing this to bug report
franse
January 12, 2026, 10:44am
3
Found this on dmxSockets.js:
const s=document.querySelector('[src$="socket.io/socket.io.js"]');s&&(n=s.getAttribute("src").replace(//?socket.io/socket.io.js/,""))
Maybe the reason?
The issue is not with the dmxSocket.js script, it is something with the extension within Wappler. The code you mention is to retrieve the remote url from the script src.
1 Like