-
March 27th, 2012, 08:11 AM
#1
Single Linux server with 2 IP addresses
Hi,
I'm wondering if anyone has succeeded in running Apache and LightStreamer on the same physical Linux server with two static IP addresses assigned to it (on a single network card). One IP address is for Apache on port 80/443 (domain name www.mydomain.com) and the other IP address is for LightStreamer on its own ports 80/443 (domain name push.mydomain.com).
Apparently this should be possible without running any virtual machine, but I may be wrong. Our CentOS server is pretty powerful and it would still be a waste to set up a second one just for avoiding security warnings in the browsers. Moreover, it's interesting (for simplicity, maybe not for scalability) to share the same MySql database between Apache and LightStreamer.
Thanks in advance for your advice!
-
March 27th, 2012, 05:35 PM
#2
Are you already using the <listening_interface> parameter in your lightstreamer_conf file?
(You can find it in <http_server> and <https_server> section.)
-
March 27th, 2012, 05:57 PM
#3
No, we are not yet using it.
I understand that "multihomed" is the keyword I should have been looking for!
Are there any special issues you would recommend us to consider from there on?
-
March 28th, 2012, 02:16 PM
#4
We are not aware of any special issues to consider. It should work smoothly.
-
March 30th, 2012, 08:37 AM
#5
Ok, it's tested and it works!
We finally got rid of the message "unsafe javascript attempt to access frame..." even with Safari.
Thank you for your help. :-)
Similar Threads
-
By LS_Developer in forum Client SDKs
Replies: 14
Last Post: November 24th, 2020, 03:48 PM
-
By sudhakar in forum General
Replies: 1
Last Post: January 14th, 2011, 08:35 AM
-
By colmfield in forum Client SDKs
Replies: 5
Last Post: September 22nd, 2010, 08:51 AM
-
By vampug in forum General
Replies: 4
Last Post: April 12th, 2010, 09:23 AM
-
By quanhm in forum General
Replies: 1
Last Post: November 16th, 2007, 11:32 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:14 AM.
Bookmarks