#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0

    Unhappy Using ASP to connect applications running on another port


    My application is running on port 2020. Client applications connect to it on that port and use a protocol similar to FTP.

    Now this requires ports being opened at server and client. I want them to use port 80 or 443 which is currently being used by IIS.

    I am think of writing an aspx which simply bridges the server and client apps. Is it possible? if so is that a good idea?

    I can make changes to the server and client code (C++) if required.

    Please help
    Thank you
    Last edited by ramprasad85; March 1st, 2012 at 01:33 PM. Reason: typo
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,424
    Rep Power
    4539
    This forum is mostly classic asp oriented. If you want to use ports 80 or 443 then you'll have to disable IIS. There should be some socket object in NET but I don't do asp.net myself, sorry.
    ======
    Doug G
    ======
    The man who doesn't read good books has no advantage over the man who can't read them.
    --Mark Twain
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    0
    Originally Posted by Doug G
    This forum is mostly classic asp oriented. If you want to use ports 80 or 443 then you'll have to disable IIS. There should be some socket object in NET but I don't do asp.net myself, sorry.
    OK, Is is possible using classic asp.

    I want to do something like:
    1. the client connects to port 443
    2. the asp page reads from the client and internally connects to the other application on 2020 and send the data to it.
    3. and then reads from the reply on 2020 and sends it back to the client.
    4. This repeats as long as either the server or client closes.

    Or as you say is to possible to send the socket object (if there is one in classic asp) to the other application (C++)?

    Thank you
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,424
    Rep Power
    4539
    Maybe something in this google search will help you, I don't know the answer

    https://www.google.com/search?q=clas...ient=firefox-a
    ======
    Doug G
    ======
    The man who doesn't read good books has no advantage over the man who can't read them.
    --Mark Twain

IMN logo majestic logo threadwatch logo seochat tools logo