Skip to content

Commit f00d1b8

Browse files
Hypukfacebook-github-bot
authored andcommitted
Change default Inspector Proxy port to 8081
Summary: Change default Inspector Proxy port to 8081 Reviewed By: cwdick Differential Revision: D14745974 fbshipit-source-id: f4b3b158f55c6f5f1b3d9cc2528c5ddb59774a8b
1 parent 7f6ab50 commit f00d1b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

React/DevSupport/RCTInspectorDevServerHelper.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
static NSURL *getInspectorDeviceUrl(NSURL *bundleURL)
3434
{
35-
NSNumber *inspectorProxyPort = @8082;
35+
NSNumber *inspectorProxyPort = @8081;
3636
NSString *escapedDeviceName = [[[UIDevice currentDevice] name] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet];
3737
NSString *escapedAppName = [[[NSBundle mainBundle] bundleIdentifier] stringByAddingPercentEncodingWithAllowedCharacters:NSCharacterSet.URLQueryAllowedCharacterSet];
3838
return [NSURL URLWithString:[NSString stringWithFormat:@"http://%@/inspector/device?name=%@&app=%@",

ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoHelpers.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class AndroidInfoHelpers {
2424
public static final String METRO_HOST_PROP_NAME = "metro.host";
2525

2626
private static final int DEBUG_SERVER_HOST_PORT = 8081;
27-
private static final int INSPECTOR_PROXY_PORT = 8082;
27+
private static final int INSPECTOR_PROXY_PORT = 8081;
2828

2929
private static final String TAG = AndroidInfoHelpers.class.getSimpleName();
3030

0 commit comments

Comments
 (0)