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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:30:42+00:00 2026-05-26T19:30:42+00:00

Im not too sure why this wont work. My application works fine if the

  • 0

Im not too sure why this wont work. My application works fine if the client and server are ran on the same PC hence the 127.0.0.1 but it wont connect to my other laptop using IP 82.41.108.125 which is the IP of that device.

Any reason why this is happening?

  • 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-26T19:30:42+00:00Added an answer on May 26, 2026 at 7:30 pm

    Your firewall could quite possibly be blocking the port assuming all of your coding is working fine – try opening up the port number you’re running the application on (in the client/server comptuers’ firewall options).

    Some additional information that should shed some light on things

    Networked devices use ARP (Address Resolution Protocol) and RARP (Reverse Address Resolution Protocol) to map IPs to link layer (MAC) addresses and back. Your network interface card (the thing that plugs into your ethernet cable) will have a unique MAC address on both computers. Each PC has an IP configured for it which is used by higher level protocols (those in the Network Layer).

    Computer A will know computer B’s IP address (and it will be different from computer A’s) if your program works correctly. When computer A goes to send to comptuer B, assuming they’re directly connected and not going through a router or something in between, computer A’s link layer will need to translate that IP for comptuer B into a MAC address it can use. It does this by sending out a broadcast to all network PCs on the same sub network asking “Hey, is this your IP!?” essentially. The one that has an IP matching the broadcasted one yes, “Yes, it’s mine – and here’s my MAC address so you can talk directly to me.”

    So, if two computers have the same IP this all goes to hell 🙂 don’t do it – give them unique IPs and make sure that comptuer A transmits to the same UDP port and IP that computer B is listening on as well. communications work in {IP, Port} pairs – its like a telephone number and area code.

    Also…

    As said by EJP – UDP is a connectionless protocol – computer A just sends to computer B and hopes that computer B is listening correctly. If computer B wasn’t listening or was but wasn’t in the right state to process the data, the data will simply be dropped and lost. Computer A will not know that this happened. If you want reliable communications where it will keep trying and you will have assurance that compuer B received computer A’s data then use TCP instead – it does a 3 way handshake to establish a connection and uses acknowledgements to ensure data is retransmitted when it doesn’t reach the other end.

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

Sidebar

Related Questions

Not too sure if I'm doing this right. It looks a bit more convoluted
Not too sure what's going on here as this doesn't seem like standard practise
Not too sure how to formulate my question and I hope that this is
Not really too sure how to word this question, therefore if you don't particularly
I suspect this applies to general ASP.Net too but I am not sure. If
I'm not too sure what is going on here, but sometimes a particular file
I just got a site to manage, but am not too sure about the
I'm not sure if the array is too deep or what, but I can't
I have strange error and not sure how to tackle it without wasting too
Not sure if I'm being too clear with the title. Sorry, it's late and

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.