Sign in to follow this  
Followers 0
xdp22

Port forwarding TCP

13 posts in this topic

#1 ·  Posted (edited)

Hello, ive found client-server screenshot server and client AutoIt code on that forum.

Topic - '?do=embed' frameborder='0' data-embedContent>>

 

On local network it works perfect, but while i try change IP from 192.168.0.101 etc. to global IP like - 93.128.x.x. it doesn't work.

Server file doesn't even want to open.

I heared that it's something about port but can someone help me with that?

Thanks very much

Edited by xdp22

Share this post


Link to post
Share on other sites



so you must change the topic title to PORT FORWARDING,

search the forum there are already two topics( as i found when i did search) regarding this matter.


My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Share this post


Link to post
Share on other sites

xdp22 , may be you forwarded ports wrong.You can search net how to forward ports correct  for your router by its name.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

look @ link in my signature if it can help you

part of main post that maybe can help you is Fifth Part, Sixth Part and Seventh Part

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Thank you very much, i readed whole guide, you helped me alot, i unlocked ports by my router settings and by Simple Port Forwarding program, all is done good, i unlocked ports in firewall too, disabled DMZ etc. still don't working.

http://www.yougetsignal.com/tools/open-ports/

And my port are still blocked.

I don't know why.

I got static IP for sure ;/ my router is

D-LINK GO-RT-N150

Share this post


Link to post
Share on other sites

Thank you very much, i readed whole guide, you helped me alot, i unlocked ports by my router settings and by Simple Port Forwarding program, all is done good, i unlocked ports in firewall too, disabled DMZ etc. still don't working.

http://www.yougetsignal.com/tools/open-ports/

And my port are still blocked.

I don't know why.

I got static IP for sure ;/ my router is

D-LINK GO-RT-N150

 

May be your firewall blocking other connections in your pc.

Share this post


Link to post
Share on other sites

What port are you attempting to redirect? Some ISPs block known vulnerable ports.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

some isp block all ports forward mosly if your using wireless connection to them. is some cases you need to call them and tell them to set up specific port for you from their side. but note that some isp charge for using forwarded port on monthly basis.


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Thanks for the attention all. I unlocked ports. Sorry i didn't know earlier that i need run server to test ports.

Port are opened, but i still can't get respone from the client.

On server i run TCP Listen with IP 192.168.0.1 ( PC )

On client i run TCP Connect with server IP - 93.127.x.x ( laptop )

Port is 7765 on both

Server running but when i trying to run client on laptop it exiting.

When i put local IP on laptop ( 192.168.0.1 also ) It all works.

But i wanna make it work globally.

Thanks

Edited by xdp22

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

xdp22 , in my opinion you cant connect your own server using same modem.Because you already connected the modem so it cant forward you to any port.You may test it with VPS ( Virtual PC Server ) or try connect another router by another pc .

Edited by Loken

Share this post


Link to post
Share on other sites

Some routers do not support loopback.

xdp22 , in my opinion you cant connect your own server using same modem.Because you already connected the modem so it cant forward you to any port.You may test it with VPS ( Virtual PC Server ) or try connect another router by another pc .

Agreed, some routers do not support loopback.  See if that is an option in your router....or if your router supports alternative firmware that has that capability.  Otherwise, find a friend's machine you can test from.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0