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
    716
    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
    716
    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. Replies: 14
    Last Post: November 24th, 2020, 04:48 PM
  2. Replies: 1
    Last Post: January 14th, 2011, 09:35 AM
  3. Hundreds of connections from single user
    By colmfield in forum Client SDKs
    Replies: 5
    Last Post: September 22nd, 2010, 09:51 AM
  4. Deployment with IIS on a single server
    By vampug in forum General
    Replies: 4
    Last Post: April 12th, 2010, 10:23 AM
  5. Problem with stopping LS server in Linux
    By quanhm in forum General
    Replies: 1
    Last Post: November 16th, 2007, 12:32 PM

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
  •  
All times are GMT +1. The time now is 09:21 PM.