Skip to content

Instantly share code, notes, and snippets.

@seyedsahil
Created February 4, 2021 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seyedsahil/9174962d84bae333271bacdf3b92a8b9 to your computer and use it in GitHub Desktop.
Save seyedsahil/9174962d84bae333271bacdf3b92a8b9 to your computer and use it in GitHub Desktop.
import java.io.IOException;
import java.net.ServerSocket;
/**
* @author Seyed Sahil
*/
public class Server {
public static void main(String[] args) throws IOException {
ServerSocket serverSocket = new ServerSocket(8080);
serverSocket.close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment