Commit 7b2eece0 authored by Philippe Merle's avatar Philippe Merle
Browse files

Tried another port for the Comanche server.

parent 2598239c
......@@ -49,9 +49,9 @@ public class RequestReceiver
new Thread() {
public void run() {
try {
ServerSocket ss = new ServerSocket(8008);
System.out.println("Comanche HTTP Server ready on port 8008.");
System.out.println("Load http://localhost:8008/gnu.jpg");
ServerSocket ss = new ServerSocket(8088);
System.out.println("Comanche HTTP Server ready on port 8088.");
System.out.println("Load http://localhost:8088/gnu.jpg");
while (true) {
final Socket socket = ss.accept();
s.schedule(new Runnable() {
......
......@@ -42,7 +42,7 @@ public class ComancheTestCase extends FraSCAtiTestCase {
try {
Runnable service = getService(Runnable.class, "r");
service.run();
URL url = new URL("http://localhost:8008/gnu.jpg");
URL url = new URL("http://localhost:8088/gnu.jpg");
File file = new File("gnu.jpg");
BufferedImage remoteImage = ImageIO.read(url);
BufferedImage localImage = ImageIO.read(file);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment