Socket Programming

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Help

Postby polimi » Wed Nov 12, 2008 8:24 pm

Hi, I have a question (new user :) )
I would like a Server out, and a Client in Android. The server seem to function but the Client ...

Server:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. import java.io.BufferedReader;
  3.  
  4. import java.io.InputStreamReader;
  5.  
  6. import java.net.ServerSocket;
  7.  
  8. import java.net.Socket;
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16. public class TCPDesktopServer implements Runnable{
  17.  
  18.  
  19.  
  20.     public static final String SERVERIP = "127.0.0.1";
  21.  
  22.     public static final int SERVERPORT = 4444;
  23.  
  24.  
  25.  
  26.     public void run() {
  27.  
  28.          try {
  29.  
  30.                  System.out.println("S: Connecting...");
  31.  
  32.              ServerSocket serverSocket = new ServerSocket(SERVERPORT);
  33.  
  34.              while (true) {              
  35.  
  36.                  Socket client = serverSocket.accept();
  37.  
  38.                  System.out.println("S: Receiving...");
  39.  
  40.  
  41.  
  42.                  try {
  43.  
  44.  
  45.  
  46.                       BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream()));
  47.  
  48.                       String str = in.readLine();
  49.  
  50.                       System.out.println("S: Received: '" + str + "'");
  51.  
  52.                    
  53.  
  54.                  } catch(Exception e) {
  55.  
  56.                         System.out.println("S: Error");
  57.  
  58.                         e.printStackTrace();
  59.  
  60.                    
  61.  
  62.                  } finally {
  63.  
  64.                         client.close();
  65.  
  66.                         System.out.println("S: Done.");
  67.  
  68.                     }
  69.  
  70.              }      
  71.  
  72.          } catch (Exception e) {
  73.  
  74.              System.out.println("S: Error");
  75.  
  76.              e.printStackTrace();
  77.  
  78.          }
  79.  
  80.     }
  81.  
  82.  
  83.  
  84.     public static void main (String a[]) {
  85.  
  86.  
  87.  
  88.         Thread desktopServerThread = new Thread(new TCPDesktopServer());
  89.  
  90.         desktopServerThread.start();
  91.  
  92.     }
  93.  
  94. }
  95.  
  96.  
Parsed in 0.039 seconds, using GeSHi 1.0.8.4


Android:


Start:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. import android.app.Activity;
  3.  
  4. import android.os.Bundle;
  5.  
  6.  
  7.  
  8. public class SocketTest extends Activity {
  9.  
  10.     /** Called when the activity is first created. */
  11.  
  12.     @Override
  13.  
  14.     public void onCreate(Bundle icicle) {
  15.  
  16.         super.onCreate(icicle);
  17.  
  18.         setContentView(R.layout.main);
  19.  
  20.        
  21.  
  22.         Thread cThread = new Thread(new TCPClient());
  23.  
  24.         cThread.start();  
  25.  
  26.     }
  27.  
  28. }
  29.  
  30.  
Parsed in 0.033 seconds, using GeSHi 1.0.8.4



Client:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. import java.io.BufferedWriter;
  3.  
  4. import java.io.OutputStreamWriter;
  5.  
  6. import java.io.PrintWriter;
  7.  
  8. import java.net.InetAddress;
  9.  
  10. import java.net.Socket;
  11.  
  12.  
  13.  
  14. import android.util.Log;
  15.  
  16.  
  17.  
  18.  
  19.  
  20. public class TCPClient implements Runnable {
  21.  
  22.                
  23.  
  24.        
  25.  
  26.         public void run() {
  27.  
  28.          try {
  29.  
  30.                  InetAddress serverAddr = InetAddress.getByName("127.0.0.1");
  31.  
  32.                  Log.d("TCP", "C: Connecting...");
  33.  
  34.                  Socket socket = new Socket(serverAddr, 4444);
  35.  
  36.                  String message = "Hello from Client android emulator";
  37.  
  38.  
  39.  
  40.                      try {
  41.  
  42.                          Log.d("TCP", "C: Sending: '" + message + "'");
  43.  
  44.                          PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(socket.getOutputStream())),true);
  45.  
  46.                          out.println(message);
  47.  
  48.                          Log.d("TCP", "C: Sent.");
  49.  
  50.                      Log.d("TCP", "C: Done.");
  51.  
  52.                          
  53.  
  54.              } catch(Exception e) {
  55.  
  56.                  Log.e("TCP", "S: Error", e);
  57.  
  58.  
  59.  
  60.                      } finally {
  61.  
  62.                         socket.close();
  63.  
  64.                       }
  65.  
  66.  
  67.  
  68.          } catch (Exception e) {
  69.  
  70.               Log.e("TCP", "C: Error", e);
  71.  
  72.          }
  73.  
  74.     }
  75.  
  76. }
  77.  
  78.  
Parsed in 0.040 seconds, using GeSHi 1.0.8.4


Manifest:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. <?xml version="1.0" encoding="utf-8"?>
  3.  
  4. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  5.  
  6.      package="com.e2esp.socket.test"
  7.  
  8.      android:versionCode="1"
  9.  
  10.      android:versionName="1.0.0">
  11.  
  12.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  13.  
  14.         <activity android:label="@string/app_name" android:name="SocketTest">
  15.  
  16.             <uses-permission android:name="android.permission.INTERNET" />
  17.  
  18.             <intent-filter>
  19.  
  20.                 <action android:name="android.intent.action.MAIN" />
  21.  
  22.                 <category android:name="android.intent.category.LAUNCHER" />
  23.  
  24.             </intent-filter>
  25.  
  26.         </activity>
  27.  
  28.     </application>
  29.  
  30. </manifest>
  31.  
  32.  
Parsed in 0.003 seconds, using GeSHi 1.0.8.4



I think that Ip or Port is the problem (also because the rest of the code is a post paste :):)
polimi
Freshman
Freshman
 
Posts: 5
Joined: Tue Nov 11, 2008 10:17 pm

Top

Postby polimi » Thu Nov 13, 2008 4:17 pm

OK, problem resolved :D The Client's IP is my IP, and the Port 4444 work.
But now i tried with the server and the client on the same Android application,
and I don't understand how to resolve the Port problem

...
adb forward tcp:6100 tcp:6100
...

Can you help me please ???
Thanks to all
polimi
Freshman
Freshman
 
Posts: 5
Joined: Tue Nov 11, 2008 10:17 pm

thanks! for the great help!

Postby legerstee1 » Wed Nov 26, 2008 10:02 pm

THanks for the help guys......
If i'm as far as you all in programming i'll contribute for sure!
legerstee1
Freshman
Freshman
 
Posts: 2
Joined: Wed Nov 26, 2008 9:58 pm
Location: NL

Postby zhufan » Fri Nov 28, 2008 8:43 am

polimi wrote:OK, problem resolved :D The Client's IP is my IP, and the Port 4444 work.
But now i tried with the server and the client on the same Android application,
and I don't understand how to resolve the Port problem

...
adb forward tcp:6100 tcp:6100
...

Can you help me please ???
Thanks to all


hello, polimi
the Client's IP should be pc'IP ?
zhufan
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Nov 26, 2008 3:18 am

Postby polimi » Sat Nov 29, 2008 9:34 am

yes, I think so. :wink:
But I don't understand how put the code-line (adb...) and where. :(
Can you help me?
By
polimi
Freshman
Freshman
 
Posts: 5
Joined: Tue Nov 11, 2008 10:17 pm

Postby MrSnowflake » Sat Nov 29, 2008 3:03 pm

It's not a code line, adb is a command-line tool delivered with the Android SDK.
So you have to enter adb ... in a command-line (cmd.exe).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Postby zhufan » Mon Dec 01, 2008 4:31 am

qamerfarooq wrote:
plusminus wrote:Hello qamerfarooq,

thx for your contribution. :)

Could you approve your code also from emulator to another PC :?:

Regards,
plusminus


Yes i successfully executed it with my Desktop PC as Server and Android Client.

I made few changes (like replacing android logging with system.out etc.) in the TCPServer.java and executed it on my PC and successfully communicated with my desktop PC using TCPClient running on the emulator (after pointing the TCPClient to the desktop computer's IP).

Check the attached Files.


Hello,qamerfarooq
I have a question,I execute my code on my PC and it always throw IOException while connecting to server(InetAddress serverAddr = InetAddress.getByName("10.66.3.44");//10.66.3.44 is my pc' IP
Log.d("TCP", "C: Connecting...");
Socket socket = new Socket(serverAddr, 8221);),why "new Socket(serverAddr, 8221)" throw IOException?I have no idea,can you have any suggest?


My code
client in android
package android.test;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class ClientTest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
connectSocket();
}

private void connectSocket() {
// TODO Auto-generated method stub
try {
InetAddress serverAddr = InetAddress.getByName("10.66.3.44");//10.66.3.44 is my pc' IP
Log.d("TCP", "C: Connecting...");
Socket socket = new Socket(serverAddr, 8221);
String message = "Hello from Client android emulator";
try {
Log.d("TCP", "C: Sending: '" + message + "'");
PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(socket.getOutputStream())),true);

out.println(message);
Log.d("TCP", "C: Sent.");
Log.d("TCP", "C: Done.");

} catch(Exception e) {
Log.e("TCP", "S: Error", e);
} finally {
socket.close();
}


} catch (UnknownHostException e) {
// TODO Auto-generated catch block
Log.e("TCP", "C: UnknownHostException", e);
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
Log.e("TCP", "C: IOException", e);
e.printStackTrace();
}

}
}

server in pc

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;

public class TCPDesktopServer implements Runnable{

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
new Thread(new TCPDesktopServer()).start();
}

public void run() {
// TODO Auto-generated method stub
try {
System.out.println("S: Connecting...");
ServerSocket serverSocket = new ServerSocket(8221);
while (true) {
Socket client = serverSocket.accept();
System.out.println("S: Receiving...");

try {

BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream()));
String str = in.readLine();
System.out.println("S: Received: '" + str + "'");

} catch(Exception e) {
System.out.println("S: Error");
e.printStackTrace();

} finally {
client.close();
System.out.println("S: Done.");
}
}

} catch (IOException e) {
// TODO Auto-generated catch block
System.out.println("S: Error");
e.printStackTrace();
}
}

}
zhufan
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Nov 26, 2008 3:18 am

Postby zhufan » Mon Dec 01, 2008 5:01 am

:D ,I sovle the problem,
the modfication is necessary in the android.Manifest.xml,
<uses-permission android:name="android.permission.INTERNET" />
zhufan
Junior Developer
Junior Developer
 
Posts: 13
Joined: Wed Nov 26, 2008 3:18 am

Postby haugsrud » Mon Feb 02, 2009 7:07 pm

android_dj wrote:
plusminus wrote:Did you add the uses-Permission INTERNET in the AndroidManifest.xml :?:

Regards,
plusminus


Thank you.

I added like this:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3.    package="net.mobiquest">
  4.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  5.         <activity android:name=".MyApp" android:label="@string/app_name">
  6.     <uses-permission android:name="android.permission.INTERNET" />    
  7.             <intent-filter>
  8.                 <action android:name="android.intent.action.MAIN" />
  9.                 <category android:name="android.intent.category.LAUNCHER" />
  10.             </intent-filter>
  11.         </activity>
  12.     </application>
  13. </manifest>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4



This put me back some hours. You have to set the permission like this:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  4.  
  5.    package="net.mobiquest">
  6.  
  7.  
  8.  
  9. <uses-permission android:name="android.permission.INTERNET" />
  10.  
  11.  
  12.  
  13.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  14.  
  15.         <activity android:name=".MyApp" android:label="@string/app_name">
  16.  
  17.    
  18.  
  19.             <intent-filter>
  20.  
  21.                 <action android:name="android.intent.action.MAIN" />
  22.  
  23.                 <category android:name="android.intent.category.LAUNCHER" />
  24.  
  25.             </intent-filter>
  26.  
  27.         </activity>
  28.  
  29.     </application>
  30.  
  31. </manifest>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4
haugsrud
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Feb 02, 2009 7:04 pm

Postby miry » Wed Mar 11, 2009 7:57 am

Hi,

I´m running a client in android. I would like to connect with a server to download some information. The server address is 130.233.154.182 and the port is 4558. I´m trying to open a new socket in the client with this parameters but i have some exeptions after try to open the socket.

I have introduced internet permisions in the manifest XML but the program it doesn,t work. What can i do? What is the problem?

Here is the code:

public void onClick(View v) {
// TODO Auto-generated method stub
int port=4558;

//byte [] asBytes = bundle.toByteArray();

Log.i("before Socket","Opening socket to server..");
Socket s = null;
TCPCLThread aThread = null;
try {
s = new Socket("130.233.154.182", port);

} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Log.i("after new socket","Socket opened");

try {
aThread = new TCPCLThread("dtn://my.fake2.dtn",s.getInputStream(), s.getOutputStream());
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

BundleSenderTest test = new BundleSenderTest(aThread);
aThread.addListener(test);
BundleDumper bd = new BundleDumper();
aThread.addListener(bd);

Log.i("addListener","Started thread, added listener");


Thread t = new Thread(aThread);
t.start();

initWebView(Mywebview, Main.this);


}

};

The last log message is Log.i("before Socket","Opening socket to server..")

Thank you in advance
miry
Freshman
Freshman
 
Posts: 5
Joined: Sun Mar 01, 2009 10:00 am

Postby Mr.Xprt » Wed Apr 22, 2009 9:18 pm

OK after alot of time i reched to make the server working on my pc but the client on Android Not working ??!!

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.  
  3.  
  4.  
  5.  
  6. package yahia.net;
  7.  
  8.  
  9.  
  10. import java.io.BufferedWriter;
  11.  
  12. import java.io.OutputStreamWriter;
  13.  
  14. import java.io.PrintWriter;
  15.  
  16. import java.net.InetAddress;
  17.  
  18. import java.net.Socket;
  19.  
  20.  
  21.  
  22.  
  23.  
  24. import android.util.Log;
  25.  
  26.  
  27.  
  28. public class TCPClient implements Runnable {
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                
  35.  
  36.             public void run() {
  37.  
  38.                  try {
  39.  
  40.                          
  41.  
  42.                          InetAddress serverAddr = InetAddress.getByName("192.168.1.3");//TCPServer.SERVERIP
  43.  
  44.                          
  45.  
  46.                          Log.d("TCP", "C: Connecting...");
  47.  
  48.                          Socket socket = new Socket(serverAddr, 5000);
  49.  
  50.                          String message = "Hello from Client";
  51.  
  52.                              try {
  53.  
  54.                                  Log.d("TCP", "C: Sending: '" + message + "'");
  55.  
  56.                                  PrintWriter out = new PrintWriter( new BufferedWriter( new OutputStreamWriter(socket.getOutputStream())),true);
  57.  
  58.                                  
  59.  
  60.                                  out.println(message);
  61.  
  62.                                  Log.d("TCP", "C: Sent.");
  63.  
  64.                              Log.d("TCP", "C: Done.");
  65.  
  66.                                  
  67.  
  68.                      } catch(Exception e) {
  69.  
  70.                          Log.e("TCP", "S: Error", e);
  71.  
  72.                               } finally {
  73.  
  74.                                 socket.close();
  75.  
  76.                               }
  77.  
  78.                  } catch (Exception e) {
  79.  
  80.                       Log.e("TCP", "C: Error", e);
  81.  
  82.                  }
  83.  
  84.             }
  85.  
  86.         }
  87.  
  88.  
  89.  
  90.  
Parsed in 0.042 seconds, using GeSHi 1.0.8.4


Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2.  
  3.  
  4. <?xml version="1.0" encoding="utf-8"?>
  5.  
  6. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  7.  
  8.      package="yahia.net"
  9.  
  10.      android:versionCode="1"
  11.  
  12.      android:versionName="1.0.0">
  13.  
  14.      
  15.  
  16.      
  17.  
  18.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  19.  
  20.         <activity android:name=".SocketTest"
  21.  
  22.                  android:label="@string/app_name">
  23.  
  24.                  
  25.  
  26.             <intent-filter>
  27.  
  28.                 <action android:name="android.intent.action.MAIN" />
  29.  
  30.                 <category android:name="android.intent.category.LAUNCHER" />
  31.  
  32.             </intent-filter>
  33.  
  34.    <uses-permission android:name="android.permission.INTERNET"/>
  35.  
  36.         </activity>
  37.  
  38.     </application>
  39.  
  40. </manifest>
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
Parsed in 0.003 seconds, using GeSHi 1.0.8.4



PLZ HELP
Mr.Xprt
Freshman
Freshman
 
Posts: 7
Joined: Wed Apr 22, 2009 9:13 pm
Location: Egypt

Postby grace » Mon Apr 27, 2009 4:17 pm

haugsrud wrote:
android_dj wrote:
plusminus wrote:Did you add the uses-Permission INTERNET in the AndroidManifest.xml :?:

Regards,
plusminus


Thank you.

I added like this:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3.    package="net.mobiquest">
  4.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  5.         <activity android:name=".MyApp" android:label="@string/app_name">
  6.     <uses-permission android:name="android.permission.INTERNET" />    
  7.             <intent-filter>
  8.                 <action android:name="android.intent.action.MAIN" />
  9.                 <category android:name="android.intent.category.LAUNCHER" />
  10.             </intent-filter>
  11.         </activity>
  12.     </application>
  13. </manifest>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4



This put me back some hours. You have to set the permission like this:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3.    package="net.mobiquest">
  4.  
  5. <uses-permission android:name="android.permission.INTERNET" />
  6.  
  7.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  8.         <activity android:name=".MyApp" android:label="@string/app_name">
  9.    
  10.             <intent-filter>
  11.                 <action android:name="android.intent.action.MAIN" />
  12.                 <category android:name="android.intent.category.LAUNCHER" />
  13.             </intent-filter>
  14.         </activity>
  15.     </application>
  16. </manifest>
Parsed in 0.003 seconds, using GeSHi 1.0.8.4


Hi,

I am trying to use the zipped code that qamerfarooq published, with the changes needed in the Manifest.xml file.
(I am working with the emulator)
When I am running the client (after starting the server), i get the following error:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. java.net.ConnectException: 127.0.0.1/127.0.0.1:4444 - Connection refused
  3.  
  4. at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:237)
  5.  
  6. at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:199)
  7.  
  8. at java.net.Socket.startupSocket(Socket.java:675)
  9.  
  10. at java.net.Socket.<init>(Socket.java:215)
  11.  
  12. at communication.TCPClient.run(TCPClient.java:21)
  13.  
  14. at java.lang.Thread.run(Thread.java:935)
  15.  
  16.  
  17.  
  18.  
Parsed in 0.037 seconds, using GeSHi 1.0.8.4


any ideas why it is happening?

thanks.
grace
Junior Developer
Junior Developer
 
Posts: 10
Joined: Sat Dec 27, 2008 8:24 pm

Postby Mr.Xprt » Mon Apr 27, 2009 5:27 pm

oh great


i made it :)

OK How it ?!!

it was some thing of the place of the permission it will be like that

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2.  
  3.  
  4.  
  5.  
  6. <?xml version="1.0" encoding="utf-8"?>
  7.  
  8. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  9.  
  10.      package="yahia.net"
  11.  
  12.      android:versionCode="1"
  13.  
  14.      android:versionName="1.0.0">
  15.  
  16.      
  17.  
  18.      
  19.  
  20.     <application android:icon="@drawable/icon" android:label="@string/app_name">
  21.  
  22.         <activity android:name=".SocketTest"
  23.  
  24.                  android:label="@string/app_name">
  25.  
  26.                  
  27.  
  28.             <intent-filter>
  29.  
  30.                 <action android:name="android.intent.action.MAIN" />
  31.  
  32.                 <category android:name="android.intent.category.LAUNCHER" />
  33.  
  34.             </intent-filter>
  35.  
  36.  
  37.  
  38.         </activity>
  39.  
  40.     </application>
  41.  
  42.    <uses-permission android:name="android.permission.INTERNET"/>
  43.  
  44. </manifest>
  45.  
  46.  
  47.  
  48.  
Parsed in 0.003 seconds, using GeSHi 1.0.8.4


it worked with me when i was like that

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2.     </application>
  3.  
  4.    <uses-permission android:name="android.permission.INTERNET"/>
  5.  
  6. </manifest>
  7.  
  8.  
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


try an tell me
Mr.Xprt
Freshman
Freshman
 
Posts: 7
Joined: Wed Apr 22, 2009 9:13 pm
Location: Egypt

Postby grace » Fri May 01, 2009 1:46 pm

I tried doing what Mr.Xprt suggested in the post above me, but yet all I get is "ConnectionRefused" exception...

please help.
grace
Junior Developer
Junior Developer
 
Posts: 10
Joined: Sat Dec 27, 2008 8:24 pm

Postby Mr.Xprt » Sat May 02, 2009 9:28 pm

Which OS Ur Working with for the server ?!!

Check Ur Firewall for some of ur pc security
Mr.Xprt
Freshman
Freshman
 
Posts: 7
Joined: Wed Apr 22, 2009 9:13 pm
Location: Egypt

Top
PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests