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

  • SEARCH
  • Home
  • 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 7769343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:08:11+00:00 2026-06-01T16:08:11+00:00

We are using a service that require us to provide an IP in V4

  • 0

We are using a service that require us to provide an IP in V4 format. Our application which resides on GAE reports (using python’s os.environ[“REMOTE_ADDR”]) for some users the IP in V6 format. Is there away to convert the IP from V6 to V4 on GAE?
Does GAE support the 6to4 transition mechanism?

Thanks,
Eden


Update:
While there is no way to convert IPv6 to IPv4 there is away to limit the access to the application to only those with IPv4. Which is an acceptable solution in my case.
See: GAE IPv6 hosting

  • 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-06-01T16:08:13+00:00Added an answer on June 1, 2026 at 4:08 pm

    6to4 is a deprecated method to provide IPv6 to networks that only have an IPv4 uplink. I don’t think it is relevant to your question.

    The very short answer: The whole world is slowly starting to enable IPv6, and Google is one of the companies that is actively working on IPv6 support. You will have to deal with IPv6 support.

    A bit longer answer: IPv6 is a different protocol than IPv4. You cannot ‘convert’ IPv6 addresses to IPv4 addresses. IPv4 addresses and IPv6 addresses are unrelated. If your application cannot deal with IPv6 then your best bet is probably to overwrite os.environ[“REMOTE_ADDR”] with a ‘fake’ IPv4 address when you detect an IPv6 address.

    If you choose something that is never supposed to show up on the internet like 192.0.2.0 then you can later easily see which entries are caused by an IPv6 client. You won’t be able to identify the client anymore though, as the 128 bits in an IPv6 address can never be put into a fake IPv4 address. You really should adjust your application to deal properly with IPv6 if IP addresses are important to you…

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

Sidebar

Related Questions

I have an ASP.net web service that I'm using for a web application which
I have an application that is launched from within a service using a local
There is a WCF service that I was using and now it is pointing
I am using a third party web service that offers the following calls and
I wrote a window service that performs some task using the threads.Now i am
So I've been using the Windows Workflow default SQL persistence service that handles everything
I'm using a third party .NET 4 WCF service that is added to my
I'm interfacing to a WCF web service that exposes its method using SOAP, using
I'm struggling to write a Windows Service that accesses a website, logs in using
I'm currently using Silex for a small project. I've registered the form service that

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.