Git Product home page Git Product logo

portcheck's Introduction

PortCheck

一个检测ip和端口是否可以访问的小工具 初学golang制作的小玩意 所以代码比较烂就不放出源码了

使用场景

当你的服务器搭建服务之后,发现竟然无法访问,淦 可以使用此工具快速建立一个http服务以测试tcp连接的端口是否可用
使用浏览器打开 http://ip:port 即可

Linux快速启动

wget https://raw.githubusercontents.com/wehaox/PortCheck/main/PortCheck && chmod +x ./PortCheck && ./PortCheck -p 8001

Windows下载

https://raw.githubusercontents.com/wehaox/PortCheck/main/PortCheck.exe
似乎是因为使用upx压缩,启动时可能会报毒(误报)

参数

1.自定义端口(默认8000)

./PortCheck -p 端口

2.不获取公网ip以快速启动

./PortCheck -fast 

3.可以同时使用

./PortCheck -p 端口 -fast

更新

2022.10.26
增加错误提示,ip按正常循序显示

2022.10.20
现在ip直接从网卡读取,以fast启动时,应该也可以直接获取公网IP

portcheck's People

Contributors

wehaox avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.