Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 438995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:43:57+00:00 2026-05-12T20:43:57+00:00

i want to have both an Apache and a Game Server to be reachable

  • 0

i want to have both an Apache and a Game Server to be reachable on port 443 of the same IP address.

The game server connection is a normal TCP connection that is established when the client logs in and stays open until the client logs out, perhaps hours later.

At first I though about using mod_proxy in reversed mode and let the client start the communication with a request for a specific URL, but I guess that would not allow me a long time two way communications between the client and the game server.

Another idea was to use mod_proxy_connect in forward mode (with strict access rules of course) and let the client send a CONNECT request. In theory this should work.

Both mentioned attempts, however, have a huge issue: The Game Server does not see the ip-address of the client anymore. Unfortunately this is a hard requirement.

Reversing the order has the same issue: If i let the Game server listen on port 443 and forward web request to the Apache, the .php programs and the access.log would not see the real ip-address anymore. And I am a bit afraid that this approach has a negative impact on game performance. (Especially on pages which a huge number of non-cacheable images)

Operating System: Linux (Debian)
Webserver: Apache 2
Game Server and client are written in Java

Thank in advance for any ideas.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:43:58+00:00Added an answer on May 12, 2026 at 8:43 pm

    You could let Apache create a session id and store it into database and then use mod_proxy_connect. When the Game Server accepts the request from the local Apache, it should get the session id from a header and read the client’s ip address from the database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 2 classes both inherit from the same interface. i want sometimes to
I have a string that contains both double-quotes and backslashes that I want to
I have two different domains that both point to my homepage in the same
I have a WCF service and I want to expose it as both a
I have an ASP.NET MVC-application which I want deployable on both IIS6 and IIS7
I have two web applications and both are developed in ASP.NET. Now I want
I want to program something in both C# and F#. I have partial classes
I have 2 objects, both of which I want to convert to dictionarys. I
I want to test whether two languages have a string in common. Both of
i have an input element, and i want bind both change and keypress event

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.