You are viewing limited content. For full access, please sign in.

Question

Question

Mobile App Forms Server Setting for External Access

asked on July 12, 2019 Show version history

Hi All,

 

Bit of a headscratcher.

 

So on our own network, we have a server, which has ports 80 and 443 forwarded to from the outside world. However when I'm trying to get forms working externally through the LF App, it doesn't seem to be playing ball no matter what I try.

 

So let's paint the picture. I have a server called 'Laserfiche'. On this server is Laserfiche, WA, SQL, Forms and the mobile app. Navigating internally to http://laserfiche/laserfiche  or http://laserfiche/forms  works absolutely fine.

Now let's pretend our external IP is 1.2.3.4. From the outside world, if I navigate to http://1.2.3.4/Laserfiche  or http://1.2.3.4/Mobile this works fine for the app. http://1.2.3.4/Forms  also works fine through a browser.

 

What's not clear is what I should put in this section of the mobile configuration. In here do I put in how the LF Server see's the forms server, or how the external app users would theoretically see the forms server?

 

So in this above scenrio, would this value be http://laserfiche.domain.local/Forms  or would it be http://1.2.3.4/Forms ?

 

I've read through all the documentation I can find, but it's not really clear.

 

Any help would be much appreciated, as neither option at the moment seems to work, despite being able to sucessfully access both http://1.2.3.4/Laserfiche  and http://1.2.3.4/forms  from the outside world.

 

Cheers!

 

0 0

Answer

SELECTED ANSWER
replied on July 16, 2019 Show version history

The Forms Server URL in the Mobile App Server configuration page is used both internally (between the Mobile App Server -> Forms Server) and externally (Mobile Apps -> Forms Server). We will look into allowing specifying 2 URLs in the future for cases like yours where the 2 might be different.
As a workaround you should use the Forms Server URL that's accessible from the outside (by the mobile apps) and try editing the hosts file of the machine that runs the LFMobile App Server (C:\Windows\System32\drivers\etc\hosts) to map the internal IP address of the machine hosting Forms to the FQDN of the external host.

If this doesn't work I recommend opening a support case, they've solved cases like this before.

0 0

Replies

replied on July 15, 2019

Anyone have any information on this?

0 0
SELECTED ANSWER
replied on July 16, 2019 Show version history

The Forms Server URL in the Mobile App Server configuration page is used both internally (between the Mobile App Server -> Forms Server) and externally (Mobile Apps -> Forms Server). We will look into allowing specifying 2 URLs in the future for cases like yours where the 2 might be different.
As a workaround you should use the Forms Server URL that's accessible from the outside (by the mobile apps) and try editing the hosts file of the machine that runs the LFMobile App Server (C:\Windows\System32\drivers\etc\hosts) to map the internal IP address of the machine hosting Forms to the FQDN of the external host.

If this doesn't work I recommend opening a support case, they've solved cases like this before.

0 0
replied on January 23

Hi Chris,

did you manage to resolve this? I am having a almost similar case.

0 0
replied on January 23

Hey Hakim,

 

In the end it turns out the mobile configuration needs to point to the external configuration link. The validation fails but the mobile app then started to work.

 

Hope this helps!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.