Results 1 to 14 of 14

Thread: Cant connect to my External IP???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30

    Cant connect to my External IP???

    OK, i wrote a client/server program in vb6. Actually, just the server part. I'm using a web browser to connect to the server and display the interface of the program through a web page. In other words, its a simple web server.

    Anyway, when i go to "http://192.168.x.xx:7777/" in the web browser, it connects just fine. Problem is thats my internal IP, and it wont work from any other computer outside my LAN.

    So i go to whatismyip and find out my external (internet) IP is 67.85.xxx.xx. I figure if i type that in the browser the same way i did my internal IP it'll connect to my app.


    DOESNT WORK!!! =/ Any thoughts as to why this is??

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30
    no one has this problem?

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    you have to use a port that is open on the web server. try port 80, which is http


  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30
    I use a port. A stated above, I am running on 7777 for testing. I connetcs fine when i use my local IP, but not with my extenral IP. Im using the correct external IP.

  5. #5
    Member
    Join Date
    Apr 2004
    Location
    Millbrae, CA
    Posts
    48
    If you are behind a router, you will not be able to connect to your own external IP. Have somebody outside of your LAN test it.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30
    How do I connect to my computer (from the outside) then?

  7. #7
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    you have to forward your ports

  8. #8
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345
    what you used? MSComm?
    Regards,
    Vishalgiri Goswami
    Gujarat, ( INDIA ).
    ---------------------

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30
    MS winsock control.

    VaxoP - can you elaborate?

  10. #10
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345
    ok, in wsk you should have to give correct ip address and a port number usesaly geater than 3000. and same config. should be at other pc. then you have to request a connection to other one and other one should alow you to make a connection. then if you want to transfer file then you have to send and/or receive file chunk by chunk...
    Regards,
    Vishalgiri Goswami
    Gujarat, ( INDIA ).
    ---------------------

  11. #11
    Fanatic Member
    Join Date
    Dec 2002
    Location
    North Carolina
    Posts
    734
    m_m, one question.
    Are you doing the following:

    VB Code:
    1. Internal Comp A  
    2.             v
    3. Internal Comp B

    Or as follows,

    VB Code:
    1. External Comp
    2.            v
    3.   Your Router
    4.            v
    5. Your Internal Comp

    If it is the one below, then you have to use something called NAT (Network Address Translation ) to forward the ports to the correct internal computer:

    IE If you are using port 1337 to connect to on the internal machine then you must forward from the Router => InternalComputerIP. I am not sure what router you have, but snoop around in it you can probably figure it out.

  12. #12
    Hyperactive Member alacritous's Avatar
    Join Date
    Aug 2003
    Posts
    464
    Just as the others said, you must forward a port if you have a router. If you don't have a router, it is a firewall and you must open the port.

    If you don't know how, the basic way is this:
    1. Go to 192.168.1.1 (again, default/basic)
    2. Login, (default is user:"" password:"admin") without quotes
    3. Go to the tab "Applications & Gaming"
    4. Type in the port start and end, or port 7777-7777 (only one)
    5. Combo box the correct protocol
    6. Put in the correct LAN address (ex: 192.168.1.100)
    7. Save...

    This is the basic, again, and may not work for your router.

    alacritous

  13. #13
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269
    Originally posted by Vishalgiri
    ok, in wsk you should have to give correct ip address and a port number usesaly geater than 3000. and same config. should be at other pc. then you have to request a connection to other one and other one should alow you to make a connection. then if you want to transfer file then you have to send and/or receive file chunk by chunk...
    dude what are you on?

  14. #14

    Thread Starter
    Junior Member
    Join Date
    Nov 2003
    Posts
    30
    Maybe I'm going about this the wrong way.

    I'd rather not have to manually configure anything to be able to use my program. This software was ment for people that probably arent soo tech-savy and may be on a university network, where they can't configure any settings.

    Also, on 1 LAN with 4 PC's, they may all be using my software (i.e. each pc is listening on port 7777).

    You see, it gets to be a real problem then. How come p2p programs and remote software like GoToMyPC don't have any problems (assumed).

    I want users to be able to access my program (their pc) from the web, without the need to actually download any extra software. I was going to have the server tell a web site their user name and IP of the server (on their pc). Then the website would find the persons IP by username (database), and connect to their home pc (really just fowarding to the url http://IP:PORT/)

    Any ideas on how i can accomplish this task in a different/less problematic way?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width