private-connect 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# private-connect
|
|
2
|
+
|
|
3
|
+
Test connectivity to any service. No signup required.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx private-connect test <target>
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Test database connectivity
|
|
15
|
+
npx private-connect test db.internal:5432
|
|
16
|
+
|
|
17
|
+
# Test Redis
|
|
18
|
+
npx private-connect test redis:6379
|
|
19
|
+
|
|
20
|
+
# Test an API
|
|
21
|
+
npx private-connect test api.internal:8080
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## What it checks
|
|
25
|
+
|
|
26
|
+
- DNS resolution
|
|
27
|
+
- TCP connection
|
|
28
|
+
- Port accessibility
|
|
29
|
+
- TLS/SSL (if applicable)
|
|
30
|
+
- Response time
|
|
31
|
+
|
|
32
|
+
## Output
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Testing db.internal:5432...
|
|
36
|
+
|
|
37
|
+
✓ DNS resolved (12ms)
|
|
38
|
+
✓ TCP connection (45ms)
|
|
39
|
+
✓ Port open
|
|
40
|
+
✓ PostgreSQL detected
|
|
41
|
+
|
|
42
|
+
Connection successful!
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Need more?
|
|
46
|
+
|
|
47
|
+
For tunneling, sharing, and accessing private services:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
curl -fsSL https://privateconnect.co/install.sh | bash
|
|
51
|
+
connect up
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
→ [privateconnect.co](https://privateconnect.co)
|
|
55
|
+
|