cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Web client connects to WebIQ server.

Web client connects to WebIQ server.

TN_X
Established Member

Hello All,

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.

Thank you!

 

6 REPLIES 6

webiq-sk
Frequent Contributor

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.

TN_X
Established Member

Hello Webiq-sk,

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.

webiq-sk
Frequent Contributor

TN_X
Established Member

Hello,

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.

webiq-sk
Frequent Contributor

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:

  1. If you want to make it available directly to the internet so anyone with the IP address or host name can access it you do not need any VPN but should definitely use HTTPS to prevent the credentials from being transferred unencrypted - this is however not recommended as it makes available internal services that should probably not be reachable by everyone on the internet even if protected by a login
  2. If you only want to make it available safely through the internet VPN is recommended and has to be setup accordingly - then it could only be accessed by users when they are connected to the VPN only - this is the recommended way
  3. 192.168.1.1 is a private IP address and as such can never be reached through the internet: https://en.wikipedia.org/wiki/Private_network#Private_IPv4_addresses - the external IP of your customer would have to be routed and used accordingly

Please note that there is a wealth of information on this topic available online.

TN_X
Established Member

Hello Webiq-sk,

Thank you for your support. I understood.

Regards,

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist