Replies: 1 comment
-
Hi! I'm not sure to totally understand the issue, but couldn't you just use Apache as a reverse proxy towards your React website and your Node.js server? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am hosting an simple React website on my Raspberry Pi with Apache. What i want is to auto start the node server script on the same Raspberry Pi but the React website is external to view. But I'm getting following error: https://domain.com/socket.io/?EIO=4&transport=polling&t=O3zS4YP
I don't need to open port 3030 for the server right, both are running on the same domain/ip?
Server.js
And the component where the chat needs to show:
I hope someone can help me out!
Beta Was this translation helpful? Give feedback.
All reactions