When I try it, I’m getting a timeout, as if the server is not even acknowledging the connection attempt.
curl -vvvv https://obatics.ie:51001/?soprano
* Trying 220.127.116.11:51001...
* connect to 18.104.22.168 port 51001 failed: Operation timed out
* Failed to connect to obatics.ie port 51001 after 75010 ms: Couldn't connect to server
* Closing connection 0
curl: (28) Failed to connect to obatics.ie port 51001 after 75010 ms: Couldn't connect to server
Are your home and office connected by a VPN? If so, then you probably have port 51001 available inside your LAN, but your router is not exposing it to the WAN. Set up port forwarding on the router and it should work.
remember that Xojo Web uses different port #s for debug vs. release builds
if you are running HTTPS, you need to use a certificate for the Xojo app. Are you?
double-check the protocol (HTTP vs. HTTPS) and port number - could it be a simple typo?
from your cellphone, turn off WiFi and test again - this will use the cellular network and ensure that you are connecting from outside your home/office network, which should be more like what the other people are seeing.
Mike D, I’m home / office WITHOUT VPN, the https is correct (as I’ve sent it as a link in an email, which works for me) and I have the certs set up for the Xojo app.
I just tried with WIFI off and it doesn’t work, so good suggestion for me to at least fault find.
Tim, I’d much prefer to run from a port other than 80 and 443, otherwise I would need to have a different server for every web utility I want to run. Do you think that is the only safest way? If I was to use Lifeboat would that help me run from other ports?
That doesn’t mean anything. On your local network, your router resolves computer names for you but external users don’t have that available to them. Without VPN access or an external dns service pointing at your router’s public address and then the router forwarding those requests to the app, your users are going nowhere.
Perhaps I misunderstand - are “home” and “office” the same network, e.g. “Home Office” or are these different locations? If it’s the same network, then the problem is most likely your router / firewall is not set up for port fowarding.
If home and office are separate networks, that’s more of a mystery (but a connecting VPN would explain it)
Re: ports, since this seems like more of a hobby app, running it from a non-standard port is probably fine.
When running a more professional app, SSL (HTTPS) over non-standard ports can cause trouble, as some overly-cautious firewalls / antivirus apps may block it, but this usually happens when the user is behind a very strict corporate firewall.
This is what a reverse proxy is for, you can host all of your web apps and websites on the same server.
Yes. There are also a number of benefits to having another piece of software handle the SSL.
Lifeboat makes the setup of a Linux server easy. You don’t have to worry about the ports, Lifeboat will handle assigning the internal ones. Visitors access your websites and apps like any other site.
You can of course set up a reverse proxy without Lifeboat. You could also choose to use Xojo Cloud. You could also open up port 51001 on your home network. For a publicly facing website and web app, I would use a server in the cloud though.
Lifeboat is a Desktop application that runs on Mac and Windows. Lifeboat runs on your local machine, connects to a remote Linux server, and does the configuration magic.
Lifeboat supports CentOS 7, but I don’t recommend trying to use Lifeboat with a VPS that’s already been configured to do anything. Pre-configured stacks (one-click install type things) can cause conflicts.
The demo of Lifeboat will let you configure one normal website and one web app without a license, so you should be able to get the configuration in this thread working even with the demo.
There’s a quick-start video on the website and I’m here to answer any questions. Hopefully we can get a solution working for you
Yes, I’m the cloud you may be right about the port and I think I’ve just twigged what my problem is, thanks MarcusR! My work and home networks have full access to my server but everything else is firewalled.