Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dappnode/check-ports-service
Public service to check TCP ports of the requesting client.
https://github.com/dappnode/check-ports-service
Last synced: 28 days ago
JSON representation
Public service to check TCP ports of the requesting client.
- Host: GitHub
- URL: https://github.com/dappnode/check-ports-service
- Owner: dappnode
- License: gpl-3.0
- Created: 2021-02-02T09:13:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T10:07:08.000Z (almost 4 years ago)
- Last Synced: 2023-03-01T04:32:54.323Z (almost 2 years ago)
- Language: TypeScript
- Size: 87.9 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# API TCP ports service
Public service to check TCP ports on demmand.
Most blockchain proyects needs to do port forwarding to work propertly or improve their performance. Due to this reason, DAppNode has developed a new service to track dappnode users ports on demmand and provide a better support in this field.
This API does not track UDP ports due to its untraceability.
## Specifications
### Request
http://**API-domain**/**dappnode-publicIp**?**tcpPorts="1194,8092,4000"**
### Response
Response structure
```
{
"tcpPorts": {
port: number,
status: "open" | "closed | "error",
message?: string
}[],"udpPorts": {
port: number,
status: "open" | "closed" | "error",
message?: string
}[]
}
```Response Example:
`[{"tcpPort":8092,"status":"open"},{"tcpPort":1194,"status":"closed"}]`
## Development
`docker-compose -f docker-compose.dev.yml build`
`docker-compose -f docker-compose.dev.yml up`## Production
`docker-compose -f docker-compose.prod.yml build`
`docker-compose -f docker-compose.prod.yml up`## CI/CD
This proyect has been setup in a remote machine with watchtower, which allows CI/CD.
## License
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details