I’m so sorry to bring this up here because I just can’t find anywhere else to ask, until these days, I found out that QMX is still a perfect tool for my case. Everything is working just fine on localhost. However when I try to connect to my server from remote through internet, I got an error.
Also, after install QMX, it seemed take over my SambaPOS connection to Message Server. I can’t connect to Message Server using SambaPOS anymore. Really hope to find a solution from you. Thank you and so sorry if this post brings any trouble.
Need to put http:// into Message Server Name. A bit strange, in the past I also need to use http://, however recently, I have to remove http:// to be able to connect to Message Server. Now, after install QMX, it needs http:// to work again.
I’m really appreciate if someone can help me with how to connect to QMX from remote without an error.
I’m looking into the log, I think the problem is QMX always set IP automatically, so Message Server still use LAN IP instead of WAN IP, even if I access the server from remote. Is there a way to set IP manually for QMX?
I’m pretty sure all necessary ports are opened. I think the problem was from QMX keep calling LAN IP instead of WAN IP (server’s WAN IP) when access the server from remote.
When I was on QMX Server, all QMX functions ran well using address http://192.168.2.253:3000/QMX/. Message Server was recognized as 192.168.2.253:9000 and working fine too.
When I was on QMX Server, I can access QMX at http://123.23.13.16:3000/QMX/. Message Server was recognized as 192.168.2.253:9000. However, I couldn’t login, got error from QMX user validating.
When I was on Remote PC, I can access QMX at http://123.23.13.16:3000/QMX/. Message Server was recognized as 192.168.2.253:9000 (instead of 123.23.13.16:9000). However, I couldn’t login, got error from QMX user validating.
I would be very weary of exposing any of the SambaPOS services to the internet. I would look at setting up a locally-hosted VPN (like OpenVPN) and tunnel in that way.
Thanks Memo, I will follow your advice. You’re right! It’s not a good idea to let SambaPOS run on open internet.
I also found the reason why QMX could not be connected from remote. Need to change an option in SambaPOS from All Functions in Local Network to All Functions.