Click here to Skip to main content
15,884,083 members
Home / Discussions / Java
   

Java

 
QuestionGiven an array arr of size N. Pin
Member 1603793426-Jun-23 6:40
Member 1603793426-Jun-23 6:40 
AnswerRe: Given an array arr of size N. Pin
Victor Nijegorodov26-Jun-23 7:12
Victor Nijegorodov26-Jun-23 7:12 
AnswerRe: Given an array arr of size N. Pin
Richard MacCutchan26-Jun-23 8:18
mveRichard MacCutchan26-Jun-23 8:18 
QuestionHow to make "upload video" in web application ? Pin
Noor Fatima BSSE202111-Mar-23 6:39
Noor Fatima BSSE202111-Mar-23 6:39 
AnswerRe: How to make "upload video" in web application ? Pin
jschell27-Mar-23 7:08
jschell27-Mar-23 7:08 
QuestionClient can't connect to server when client/server are different projects Pin
Valentinor17-Feb-23 20:50
Valentinor17-Feb-23 20:50 
AnswerRe: Client can't connect to server when client/server are different projects Pin
Valentinor17-Feb-23 21:53
Valentinor17-Feb-23 21:53 
GeneralRe: Client can't connect to server when client/server are different projects Pin
englebart26-Apr-23 16:14
professionalenglebart26-Apr-23 16:14 
I think you are on the right track here.

In your ServerSocket, you did not bind to a specific address, so it likely defaulted to localhost on IPv4. This should also be addressable as 127.0.0.1 which is likely different than the IP used for your local network.

Try “127.0.0.1” for your IP_ADDRESS and see if it works.

There should be a variation of ServerSocket that will let you specify your local network IP address. Using the same IP for server and client should make it work.

Some important commands you can learn:


route print
netstat
ipconfig

AnswerRe: Client can't connect to server when client/server are different projects Pin
Richard MacCutchan17-Feb-23 21:58
mveRichard MacCutchan17-Feb-23 21:58 
GeneralRe: Client can't connect to server when client/server are different projects Pin
Valentinor17-Feb-23 22:13
Valentinor17-Feb-23 22:13 
GeneralRe: Client can't connect to server when client/server are different projects Pin
Richard MacCutchan17-Feb-23 22:46
mveRichard MacCutchan17-Feb-23 22:46 
GeneralRe: Client can't connect to server when client/server are different projects Pin
Valentinor17-Feb-23 23:05
Valentinor17-Feb-23 23:05 
Questionfull answer with code pls Pin
Member 159126962-Feb-23 12:06
Member 159126962-Feb-23 12:06 
AnswerRe: full answer with code pls Pin
jschell6-Feb-23 6:21
jschell6-Feb-23 6:21 
AnswerRe: full answer with code pls Pin
Dave Kreskowiak6-Feb-23 6:32
mveDave Kreskowiak6-Feb-23 6:32 
GeneralRe: full answer with code pls Pin
Andre Oosthuizen8-Feb-23 4:30
mveAndre Oosthuizen8-Feb-23 4:30 
AnswerRe: full answer with code pls Pin
Richard MacCutchan6-Feb-23 6:37
mveRichard MacCutchan6-Feb-23 6:37 
AnswerRe: full answer with code pls Pin
Gerry Schmitz6-Feb-23 6:39
mveGerry Schmitz6-Feb-23 6:39 
QuestionUsing JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
JohnCodding25-Jan-23 20:38
JohnCodding25-Jan-23 20:38 
AnswerRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
Richard MacCutchan25-Jan-23 22:31
mveRichard MacCutchan25-Jan-23 22:31 
GeneralRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
JohnCodding25-Jan-23 22:47
JohnCodding25-Jan-23 22:47 
GeneralRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
Richard MacCutchan26-Jan-23 0:02
mveRichard MacCutchan26-Jan-23 0:02 
GeneralRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
JohnCodding26-Jan-23 0:16
JohnCodding26-Jan-23 0:16 
GeneralRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
JohnCodding25-Jan-23 23:27
JohnCodding25-Jan-23 23:27 
GeneralRe: Using JNI without having to add jvm.dll path inside Environment Variables (User or System) Pin
Richard MacCutchan26-Jan-23 0:05
mveRichard MacCutchan26-Jan-23 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.