Currently, I am in the process of creating two web applications:
- The core application, developed using Java with Vert.x, is responsible for receiving data from various other apps and sending it to the client.
- The client application, built using PHP/JS, is designed to display the data received from the core.
During development, both applications were hosted on the same computer. I used "ws:\\localhost:9090" to establish a connection between the client and the core without any issues.
However, when I attempted to replace 'localhost' with my IP Address today, I encountered some difficulties.
I suspect that the issue may be related to the fact that the client is not in the same domain as the core. How can I address this problem?
Any suggestions or ideas would be greatly appreciated!
Here is a code example (based on sample code, not actual code):
- For the core application: http://pastebin.com/h2ZnBvQJ
- For the client application: http://pastebin.com/DR5BeABf