How to connect client to server via internet.

Asked by Chun Hou Sinn

Hi,

I have discovered Xibo recently and believe it will help me on my business. So I am trying out now and got stuck. Please give me a few pointers.

I am currently trying to set up a digital signage network on 2 different locations, one in my office running on LAN network and the other one at a retail store miles away, I believe by using Xibo, I can schedule and manage the content of both groups of Digital Signages by using 1 server only. So far, I have manage to set up the signages in my office by putting in [http://192.168.xxxxxx/xibo] in the client option URI of the Xibo Server. I managed to register and licensed the clients.

However, I have no idea on how to connect the client at the retail store to the server in my office. I don't have sufficient knowledge in this area, but I do know that I will need key in some other data in order to let the clients connect to the server via internet. What options do I have?

Thanks.

-CH

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

There's three options, in order of difficulty from easiest to hardest:

1. Setup your router at the office to send inbound port 80 to your Xibo server's IP address (192.168.x.x). Then use the services of a dynamic DNS registration company to keep a static name (eg yourname.dyndns.com) pointing to your internet IP address (the one the router has that faces the world). You can then setup your client at the retail store to look at http://yourname.dyndns.com.

2. Setup a VPN between your retail store and the office. You could use OpenVPN or get routers that can manage the VPN transparently for you. Once that was working, you'd be able to configure your retail store client the same as you would the ones in the office.

3. Buy some webhosting on the internet that supports all the features Xibo requires (or buy a VPS Virtual Private Server - if you're comfortable doing that kind of admin work) and then change all your clients to look at that server.

All three are really beyond what we can support you with. Basically all Xibo is is a PHP website with a webservice. If you do some searching for things like running a webserver from my house or something then I'm sure you'll find some more information on the 1st option.

Alex

Revision history for this message
Chun Hou Sinn (dotscreativemedia) said :
#2

Hi,

Thank you for the fast response.

I think I am going to try on option 1.

I have try to dig for some info from the web. By "send inbound port 80 to my Xibo server's IP address", does that mean logging into my router and port forward/trigger to Port 80? I am not quite sure on this, just asking to confirm whether I understand what you meant.

Thanks!

-CH

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Yes. You need the router to forward inbound port 80 connections to your
LAN to the computer that's running xibo.

Alex

Chun Hou Sinn <email address hidden> wrote:

Question #109358 on Xibo changed:
https://answers.launchpad.net/xibo/+question/109358

Chun Hou Sinn posted a new comment:
Hi,

Thank you for the fast response.

I think I am going to try on option 1.

I have try to dig for some info from the web. By "send inbound port 80
to my Xibo server's IP address", does that mean logging into my router
and port forward/trigger to Port 80? I am not quite sure on this, just
asking to confirm whether I understand what you meant.

Thanks!

-CH

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Chun Hou Sinn (dotscreativemedia) said :
#4

Hi,

Thanks for the confirmation.

I have gotten myself a DNS service for my static name. And also port forwarded port 80 in my router's control panel.

However, when I tried to register the client using the static name, this message occur under the box of the "Register" button:

The request failed with HTTP status 404: Not Found.

I tried to type in the address in my browser and it also state 404 not found. But I manage to log into my router using the static name. But 404 appear if I type http://name.dyndns.com/xibo/xmds.php

I am not sure whether this is my settings are wrong or I didn't do the port forwarding correctly.

-CH

Revision history for this message
Alex Harrington (alexharrington) said :
#5

You don't need xmds.php on the end of the address.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Chun Hou Sinn (dotscreativemedia) said :
#6

Hi,

Thanks for the fast reply.

I have tried without the xmds.php at the end of the address. But the same 404 message came out.

-CH

Revision history for this message
Alex Harrington (alexharrington) said :
#7

Can you email me the full URL you're putting in to the client please or
post it here.

<email address hidden>

Chun Hou Sinn <email address hidden> wrote:

Question #109358 on Xibo changed:
https://answers.launchpad.net/xibo/+question/109358

Chun Hou Sinn posted a new comment:
Hi,

Thanks for the fast reply.

I have tried without the xmds.php at the end of the address. But the
same 404 message came out.

-CH

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Alex Harrington (alexharrington) said :
#8

Looks OK from here. I can see your server and the login page loads.

Make absolutely certain that you enter exactly what you just sent me (eg
make sure your using http not https for example) and don't forget to click
save before registering.

Alex

Alex Harrington <email address hidden> wrote:

Question #109358 on Xibo changed:
https://answers.launchpad.net/xibo/+question/109358

Alex Harrington proposed the following answer:
Can you email me the full URL you're putting in to the client please or
post it here.

<email address hidden>

Chun Hou Sinn <email address hidden> wrote:

Question #109358 on Xibo changed:
https://answers.launchpad.net/xibo/+question/109358

Chun Hou Sinn posted a new comment:
Hi,

Thanks for the fast reply.

I have tried without the xmds.php at the end of the address. But the
same 404 message came out.

-CH

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at
http://learning.longhill.org.uk/disclaimer

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Chun Hou Sinn (dotscreativemedia) said :
#9

Hi,

I still can't register the client. Is it something wrong with my settings on XAMPP or something?

I did save before registering and made sure the address is the same as the one I sent you.

One thing that I am not so sure whether it is related to this problem:

When I type my LAN ip in my browser, it brought me to the XAMPP control panel, and when I click on the [phpMyadmin] the following error message came out:

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Does this has anything to do with the problem?

Thanks

-CH

Revision history for this message
Alex Harrington (alexharrington) said :
#10

If you mail over your server key I can try registering a client from here,
but I'm confident it will work as I can see all the right bits.

An error 404 is almost certainly a typo.

Phpmyadmin has nothing to do with xibo.

If you type that address in to a browser what do you get?

Alex

Chun Hou Sinn <email address hidden> wrote:

Question #109358 on Xibo changed:
https://answers.launchpad.net/xibo/+question/109358

Chun Hou Sinn posted a new comment:
Hi,

I still can't register the client. Is it something wrong with my
settings on XAMPP or something?

I did save before registering and made sure the address is the same as
the one I sent you.

One thing that I am not so sure whether it is related to this problem:

When I type my LAN ip in my browser, it brought me to the XAMPP control
panel, and when I click on the [phpMyadmin] the following error message
came out:

phpMyAdmin tried to connect to the MySQL server, and the server rejected
the connection. You should check the host, username and password in your
configuration and make sure that they correspond to the information
given by the administrator of the MySQL server.

Does this has anything to do with the problem?

Thanks

-CH

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Alex Harrington (alexharrington) said :
#11

I connected a client up here and it registered fine first time.

Are you doing all this at your office or at the store? If you're at the office then connect to the Xibo web interface and see if my client is listed. If it is, delete it as you don't need it, then go and install the client at the store and connect up.

You can leave the clients in the office using the IP address - there's no need to change their configuration at all.

Alex

Revision history for this message
Chun Hou Sinn (dotscreativemedia) said :
#12

Hi,

Thanks for your prompt action.

I can see your display registered in my Xibo server.

I am doing all these in my office. And I was testing the client using another computer in my office to register the client via the web server and not the LAN ip.

I will test it out at my store and get back to you on the results.

Thanks.

-CH

Can you help with this problem?

Provide an answer of your own, or ask Chun Hou Sinn for more information if necessary.

To post a message you must log in.