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 6061741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:58:18+00:00 2026-05-23T08:58:18+00:00

With two JXTA based peers, each one behind its own NAT, is it possible

  • 0

With two JXTA based peers, each one behind its own NAT, is it possible for them to send direct messages to each other?

It is ok to use a rendezvous server for initial connection, but the real message with the payload needs to be sent directly from one peer to the other without a “gateway” on the internet.

I think Skype does that. I have heard about a trick using UDP instead of TCP. But does JXTA support that? Is it even possible with Java?

  • 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-23T08:58:18+00:00Added an answer on May 23, 2026 at 8:58 am

    If both peers have a public IP address, then yes, it is possible. But since this is very rare, those peers will need a relay most of the time.

    JXTA does not support direct connection between NAT-ed peers if they have private addresses.

    It is possible to achieve this with Java when NATs are traversable, but it requires a sophisticated solution for TCP. For UDP, it is simpler.

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

Sidebar

Related Questions

Two variables each stands for a jQuery element, how do I make them one
Two divs, floated left, of unknown width. One of them has more content than
Two quotes: All of the remaining messages in the protocol take the form of
Two questions rolled into one here... I have a number of functions which are
Two questions: Does LaTeX allow one to (re)define commands within a \newenvironment ? I've
Two questions please: I need two foreign keys back to User, one for author
two quick Qs: 1. Is it possible to write a program which keep record
Two input boxes: when I set the first one, I want the second one
Two web applications I'm working with are using the ASP.NET membership and each have
Two dataframes in R each contain fields for IP addresses. In each dataframe, these

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.