09-20-2022 10:02 AM
Sorry if my question is so basic.
As of now, What I tried to publish my WebIQ project into ctrlX core was just in localhost. So, may I know how can I publish into internet as server. So that any webclient from anywhere in the world can access to the server and get the visualization? Of course, ctrlX core has been connected to the internet already.
Solved! Go to Solution.
09-20-2022 10:36 AM
If you can access your HMI via http://localhost:10123/my-app then the only thing required would be to do this:
- replace "localhost" by the *external IP* of your ctrlX
- route all requests through a firewall etc. to that IP on port 10123
- using HTTPS is highly recommended as otherwise the credentials for logging in could be read potentially as they'd be transferred unencrypted
Just to make this clear: all of these topics are related to networking and have nothing to do with WebIQ in general. These steps are exactly the same as if you'd host your own website on that server or anything else - only the port 10123 would be different.
09-20-2022 10:45 AM
My I ask one more? That we Need to "route all requests through a firewall"?
What happen if there are 2 ctrlX cores have the same IP in the network.
09-20-2022 12:45 PM
Please see here - IP addresses must bei unique: https://www.quora.com/What-happens-if-two-computers-have-the-same-IP-address-Will-one-computer-be-un...
09-20-2022 04:58 PM
I think that you may mis-understanding my question. I know that in the same network any 2 devices cannot have the same IP. In this case, what I mean that if HMI is as global server which can be accessed by any webclient in the world then just in case customer A have a ctrlX core with IP address: 192.168.1.1 and customer B also have the ctrlX core with the same IP address and they both publish to internet. How could they realize which one is their HMI? Need VPN or something else?
Sorry again if this made you confuse.
09-21-2022 08:14 AM
This is neither a WebIQ nor a ctrlX question and cannot be fully answered here. You need to familiarize yourself with web technology and networking in general to setup a secure system or ask or hire someone with the corresponding knowledge. Just some hints here:
Please note that there is a wealth of information on this topic available online.
09-21-2022 08:43 AM
Thank you for your support. I understood.