Forum Home › Forums › Development and Integration › Using URL on inteface table
- This topic has 3 replies, 2 voices, and was last updated 1 year, 10 months ago by Mikhail.
-
AuthorPosts
-
December 8, 2022 at 6:09 am #11732JWParticipant
Currently, Using URL on inteface table seems only works for absolute URL with one excepthion feature that:
if the URL is another webservice on the same server, e.g.
http://localhost:8080/somepath
Scada will replace the localhost with the lan / internet IP addr depends on the users access, but still like an absolute URL.Is it possible to add a relative URL support, to allow easier integration will webservice on the same server?
———————-
Currently, I have 2 case that the current version dose not work.
Case 1 example.
scada at 192.168.1.100:80, my another service at 192.168.1.100:8080/somepath, setting on interface table http:///localhost:8080/somepath
everything works fine on the server itself and the device in the same subnet
but the scada was integrated into another subnet via NAT 192.168.7.33:20080, for all the device in this subnet, they can only access the scada web, but not my ohter web service from scada.Case 2 example.
scada at localhost:80, my another service at localhost:8080/somepath, they are also a public IP address of the same port.
daily operation is on localhost, works fine.
sometimes client will remote access via internet, but our client network firewall seems only allow http on port 80, then my service at 8080 not accessable from scada.
then I tried to move scada to port 8081. then use nginx at port 80 to do redirect.
It seems only can work if i use http://the.public.ip.addr:8080/somepath
It makes all the traffic goes throught the internet, if without internet, my other service can not be access from scada on localhost- This topic was modified 1 year, 10 months ago by JW.
December 8, 2022 at 8:46 am #11735MikhailModeratorWhy the address contains “///” ? Probably, you should change it to
http://localhost:8080/somepath
to make it work.December 8, 2022 at 9:32 am #11736JWParticipantsorry the /// in this post was a typo. couldn’t edit it now.
but in the actual project, the setting was correct.In most case the current version works fine.
But I am looking for solutions for the 2 cases I mentioned.
December 8, 2022 at 1:23 pm #11738 -
AuthorPosts
- You must be logged in to reply to this topic.