Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2010
    Location
    Morrens
    Posts
    4

    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!

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    222
    Are you already using the <listening_interface> parameter in your lightstreamer_conf file?
    (You can find it in <http_server> and <https_server> section.)

  3. #3
    Member
    Join Date
    Jun 2010
    Location
    Morrens
    Posts
    4
    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?

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    222
    We are not aware of any special issues to consider. It should work smoothly.

  5. #5
    Member
    Join Date
    Jun 2010
    Location
    Morrens
    Posts
    4
    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

  1. How to connect multiple LS servers from a single LS web client?
    By LS_Developer in forum JavaScript Client API
    Replies: 7
    Last Post: September 11th, 2012, 09:32 AM
  2. Regarding deployment of applications in Red hat Linux
    By sudhakar in forum Architecture - Integration - Deployment
    Replies: 1
    Last Post: January 14th, 2011, 08:35 AM
  3. Hundreds of connections from single user
    By colmfield in forum JavaScript Client API
    Replies: 5
    Last Post: September 22nd, 2010, 08:51 AM
  4. Deployment with IIS on a single server
    By vampug in forum Architecture - Integration - Deployment
    Replies: 4
    Last Post: April 12th, 2010, 09:23 AM
  5. Problem with stopping LS server in Linux
    By quanhm in forum Architecture - Integration - Deployment
    Replies: 1
    Last Post: November 16th, 2007, 11:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin® Version 4.2.0
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
All times are GMT +1. The time now is 06:34 PM.