Skip to content

Commit

Permalink
ngrok added
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossein-AliHosseini committed Jul 22, 2021
1 parent 032f2d6 commit db5e672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/View/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static void main(String[] args) throws IOException {

new Thread(() -> {
try {
socket = new Socket("localhost", 1234);
socket = new Socket("2.tcp.ngrok.io", 12006);
dataOutputStream = new DataOutputStream(socket.getOutputStream());
dataInputStream = new DataInputStream(socket.getInputStream());
System.out.println("socket created successfully");
Expand Down

0 comments on commit db5e672

Please sign in to comment.