Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Moving Supercontainer to a new server

Featured Replies

Several months ago I purchased supercontainer. I then loaded supercontainer to my server and implemented it in a solution for an art gallery. They have since decided to go with their own server and so several weeks ago I installed supercontainer on their server and took it off mine. A quick call to 360 works seemed to give me enough information to move the directories and files to the new server. I installed supercontainer and Inside the LAN I can see the images as I changed the supercontainer link to that of the internal IP address of their new server. However, I can not see it remotely. I assume I should be using the external (port forwarded) address but when I do that I can't see the files Locally. What have I done wrong?

Sometimes routers don't like it when you use their external IP address internally. If you are able to see the documents from outside your office using the external IP address, but not from within the office when using the same address then this may be the case for you.

If this is happening you will need to modify your calculations to check and see where your users are connecting from, and if you should use an internal or external ip address. FileMaker has the get(hostIPAddress) function which you can use in situations like this. If this function returns your internal address you should set your web viewers/scsetbaseurl to use your internal address. If it is the external address you will know to use the external address. This can be configured in your scripts and calculations by using the IF script step and the Case calculation function.

  • Author

Sometimes routers don't like it when you use their external IP address internally. If you are able to see the documents from outside your office using the external IP address, but not from within the office when using the same address then this may be the case for you.

If this is happening you will need to modify your calculations to check and see where your users are connecting from, and if you should use an internal or external ip address. FileMaker has the get(hostIPAddress) function which you can use in situations like this. If this function returns your internal address you should set your web viewers/scsetbaseurl to use your internal address. If it is the external address you will know to use the external address. This can be configured in your scripts and calculations by using the IF script step and the Case calculation function.

David

Thanks for your response!

I tried the following in my "On Open" script that sets the base URL (IP addresses are not real)

If(Left ( Get ( HostIPAddress ) ; 2 ) = "63";SCSetBaseURL("http://63.456.80.63:80/SuperContainer/Files");SCSetBaseURL("http://192.168.0.254:80/SuperContainer/Files"))

This does not appear to work as it returns "error". I beleive part of my problem is that setting the base URL is part of the registration and could be locked down to the original server IP address.

Ideas?

You should not specify port 80, as that is the default port. You can call SCLastError to see the details about the last error that you received.

SCSetBaseURL is not tied to a particular server, so there should be no problem changing the IP address. SCLastError will tell you what the problem is.

  • Author

David

Here is my current script step

If(Left ( Get ( HostIPAddress ) ; 2 ) = "63";SCSetBaseURL("http://63.231.80.63/SuperContainer/Files");SCSetBaseURL("http://192.168.0.254/SuperContainer/Files"))

Here is the error that is returned.

Unable to connect to http://63.231.80.63/SuperContainer/Files. Verify that the port number is correct. For standalone usage, the default port is 8020. For tomcat deployment, the default port is 80.

... not sure what this means. I am using the server plugin... Does it suggest that I should open port 8020 on the router?

As always thanks!

If you try http://63.231.80.63/SuperContainer/in your browser you will notice that it does not work. There is something blocking port 80 right now (which you appear to be using) and so your users are unable to connect to it. You will need to open port 80 in your firewall or forward port 80 in your router.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.