Jump to content

how to open some port in computer


kingooo
 Share

Recommended Posts

in the fact, i want get many benefits from this forum to improve my informations.

in autoit script you can execute dos commands therefore are there any methods to open some port

or are there any codes in autoit script to open some port in computer?

Link to comment
Share on other sites

run this from your command line

netsh firewall add portopening /?

This will give you the help for command line firewall port manipulation

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

in the fact, i want get many benefits from this forum to improve my informations.

in autoit script you can execute dos commands therefore are there any methods to open some port

or are there any codes in autoit script to open some port in computer?

If you mean COM ports then try my udf in my signature.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

what do you think the command i provided does?

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

kingooo, have you actually written any code yourself? All I have seen you do is keep bugging members until they write it for you.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

kingooo, have you actually written any code yourself? All I have seen you do is keep bugging members until they write it for you.

every day

every time

every reply

your replies is very severe but i really i love every one in this forum. also i know you want me to try in order to improve in autoit script

Link to comment
Share on other sites

when you type in the command i provided, do you see the examples section?

Do you see the very first example in the examples section?

I could replace the /? with "TCP 4444 MyNonReadingSelf" and put it in a run command for you....but that is ridiculous.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

when you type in the command i provided, do you see the examples section?

Do you see the very first example in the examples section?

I could replace the /? with "TCP 4444 MyNonReadingSelf" and put it in a run command for you....but that is ridiculous.

in the fact i am very beginner therefore i will write this command and i want you to correct it if there is any wrong

netsh firewall add portopening TCP 4444

DOES THE LAST COMMAND IS CORRECT OR NO

Link to comment
Share on other sites

Did you try something novel, like typing it into your command prompt and finding out? You really have not offered anything of substance.

There are all of 8 parameters available for "add portopening" and 5 of them have the word optional next to them.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...