Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Two applications using the same port

Two applications using the same port 8 years 3 months ago #27082

  • silentko
  • silentko's Avatar
  • Offline
  • Frequent Member
  • Posts: 40
  • Karma: 0
Is it possible to use the same port at the same time with 2 different applications(i was reading around and apparently you cant)? Am trying to setup IIS web server on my PC but since my ISP block all HTTP traffic i cant do it. My ISP is optimum online they pretty much own your sh*t. so what i was trying to do was use an application that allow me to redirect all the traffic from one port to another.

This is what i did i went to dyndns.com setup a webhop like this my.ip:82 and then with the app that am using ( am using AUTAPF ) to redirect port 82 to port 80 on my local network.

but IIS wont start because am using the same port at the same time witht AUTAPF or AUTAPF wont start because IIS is running.

I guess my question is is there any way around this? Am trying to do this just for educational purposes only (am not trying to run an actual web server just to test some things on windows 2003 server )since i want to setup a few things on windows 2003 server.

I also read that you can do this if you have a router that supports web hop redirect but i don't want to use a router.

thanks in advance i hope this doesn't confuse people and that i explain myself. Please excuse any language errors English is not my first language.
The administrator has disabled public write access.

Re: Two applications using the same port 8 years 3 months ago #27086

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
As I recall from IIS 5.0 you can set your website to use a different port than port 80. So IIS itself would respond to any other port (say 82). So you might not even need a port redirection tool like AUTAPF.

Still one doubt, Are you sure you ISP is blocking only port 80 ? It could be blocking any incoming port (server access).
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Re: Two applications using the same port 8 years 3 months ago #27087

  • silentko
  • silentko's Avatar
  • Offline
  • Frequent Member
  • Posts: 40
  • Karma: 0
yes ISS can run on any port pretty much but i think they are blocking all HTTP traffic or like you said incoming port access. but i was able to setup a ventrilo/team speak server (they use UPD ports) and i also install cygwin so i can run a ssh server and see if was able to do some tunneling (the ssh server works fine i was able to connect using putty )but i don't think this will work or at least it didn't work for me maybe i was doing it wrong. if anybody has any idea how to do it with ssh let me know. also a friend ask me if i try SSL not sure if it will work with this haven't try it yet


.any ideas? thanks
The administrator has disabled public write access.

Re: Two applications using the same port 8 years 3 months ago #27089

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Since you were able to connect to some servers from out side, then thats a clear signal that their blocking is not absolute. They might be as you said blocking only INBOUND http traffic regardless of the port used (thats not easy). But they could be also blocking only port 80 as you suggested too. In this later case, IIS on another port should work. Just remember to put the port number after the URL like this:

http://server-name:portnumber

So if your DNS name is say abc.webhop.net and your port number that you configured in IIS is 8080. You need to type the following in your browsers URL box:

abc.webhop.net:8080

Returning back to your original question (sorry I forgot). NO you can't use the same port at the same time with 2 different applications. At least one of the application will not work.

Hope this helps. Tell us what happens if it doesn't.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Re: Two applications using the same port 8 years 3 months ago #27094

  • silentko
  • silentko's Avatar
  • Offline
  • Frequent Member
  • Posts: 40
  • Karma: 0
Yea i was able to run ssh server using cygwin ( am using win xp pro ) and also a ventrilo and team speak server. but i think i was able to because both ventrilo and team speak use UPD protocols and if i want to run a web server it uses tcp protocosl not sure if that has actually something to do with the problem but like you said the fact that i was able to do some servers its proof that they are not blocking everything. maybe just HTTP traffic.

Well they are blocking port 80 that's a fact because that was the first thing i try without doing anything and it just works locally.

I know you can redirect ports with iptables in linux but am using windows and it looks like you can do this with a router that supports web hop redirection. but i dont want to use a router.

There might be some ways to do it with SSH (tunneling) or a proxy some how or i dont know. my friend told me to try ssl but i dont even know where to start or if you can do this with ssl.

thanks for telling me about the 2 applications using the same port. i never knew u cant use the same port at the same time since i have never had that problem until now.

theres has to be a way to redirect traffic from any port to my local port 80 AUTAPF has the tools but i cant tell it to redirect the traffic from lets say port 82 to port 80 on my local network since IIS is using it. and both application cant be using the same port at the same time.

any ideas will be appreciated. thanks
The administrator has disabled public write access.

Re: Two applications using the same port 8 years 3 months ago #27096

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
theres has to be a way to redirect traffic from any port to my local port 80 AUTAPF has the tools but i cant tell it to redirect the traffic from lets say port 82 to port 80 on my local network since IIS is using it. and both application cant be using the same port at the same time.

any ideas will be appreciated. thanks

Possible misunderstanding here, You can't use the same port for two applications in the same SERVER/PC. No problems on using the same ports on the same LOCAL NETWORK since the IPs differentiates the two machines.
I know you can redirect ports with iptables in linux but am using windows and it looks like you can do this with a router that supports web hop redirection. but i dont want to use a router.

Why don't you simply configure IIS to accept connections from another port? The feature is in IIS interface itself.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.
Time to create page: 0.082 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup