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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:12:26+00:00 2026-05-31T00:12:26+00:00

I have both a client and server application using UDP port 25565. In order

  • 0

I have both a client and server application using UDP port 25565.
In order to run these on the same machine, because only one application may bind itself to port 25565, does this mean that it is necessary for me to use two separate ports for transmitting data between the applications?

What I have in mind is the following –

Client -> 25565 -> Server

Client <- 25566 <- Server

Is this the only solution or is there another way of handling this?

  • 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-31T00:12:27+00:00Added an answer on May 31, 2026 at 12:12 am
    • Your server application open a port and wait for client to connect.
    • Client need to know this port in advance so it can establish a connection to the desired service.
    • Client can use any available ports to initiate this connection (better to use ports > 1000).
    • The server sees in the incomming packet wich port the client is using, so it will send anwser to it. No need to specify it in your design.
    • After handshake the TCP/IP connection is then identified by these 4 values : server IP, server port, client IP, client port.
    • No other connection could have the same four values.

    To answer your question. A TCP/IP connection is bi-directional, once established, the server can send data to the client and the other way around.

    I would draw the scheme like this :

    SERVER port 25565 <-> CLIENT port 25566 (or any other port)

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

Sidebar

Related Questions

I have to create an application server client in android(both the client an server
We have a client and server application currently testing on the same Windows 7
I have a client-server application, in which the client communicates with the server using
I'm working on a server-client application. The communication is done using webservice webmethods. Both
I have a client-server application, which intercommunicate via WCF. They also both use Castle
I have a client and server program (both in Obj-C) and I am transferring
I have written a small client server socket application. It is a proof of
Overview: I have set up a server and a client, where both attempt discovery
I have a small client server application in which i wish to send an
I have a need to write an client-server application where a tiny server rests

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.