Portforwarding not working

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
    Thread Starter
       #11

    Hello GokAy,

    You mean like this?



    I used the current IPv4 address from ipconfig for the Local IP.

    Unfortunately...



    (I tried forwarding port 80 but it also failed.)

    When I access my web app using my Local IP, it works:
    192.168.254.101:8080/myWebApp

    When I try to access using my External IP, it times out:
    180.191.103.188:8080/myWebApp
      My Computer


  2. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #12

    You changed too much :)
    Go to port forwarding and change the internal ports(private) to 8080. Keep public ones as 8081.

    192.168.254.101:8080/myWebApp - this is correct if you are inside the network

    180.191.103.188:8081/myWebApp - when you are connecting from Internet, notice 8081
      My Computer


  3. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
    Thread Starter
       #13

    Hi GokAy,

    Here's the current rule:



    I tried accessing using 180.191.103.188:8081/myWebApp but it timed out as well.
      My Computer


  4. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #14

    Ok, Did you ever try to connect to 192.168.254.101:8080/myWebApp from your phone? Maybe it is a permission issue with Tomcat?
      My Computer


  5. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
    Thread Starter
       #15

    I used my tablet to connect to 192.168.254.101:8080/myWebApp and it works.
    The external IP did not work though.

    Are there settings you need to see that can help you diagnose?
      My Computer


  6. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #16

    This myWebApp is the actual app or some management screen? I read that tomcat by default restricts management from Internet or something like that :)

    Anyway, not sure if this would help but can you also add outbound rules to allow 8080 for both protocols in Windows Firewall?
      My Computer


  7. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #17

    Well, I downloaded and setup Tomcat on a virtual Win7 Home Premium x64. After opening the ports 8080 TCP/UDP in Windows Firewall and creating the port forwarding on router, I can connect from outside.

    Here are the steps:
    - Extracted tomcat to C:/tomcat
    - created JAVA_HOME variable with C:\Program Files\Java\jre1.8.0_45
    - ran startup.bat
    - Created UDP/TCP port 8080 rules to allow
    - Create port forwarding to virtual OS IP, external 8081, internal 8080
    - tested with Firebind Reflector Demo1
    - also connected to ZenMate VPN through Firefox, success too
      My Computer


  8. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
    Thread Starter
       #18

    Sorry I haven't been around, got busy with internship. I'm still baffled as to why it stopped working, it did before. Right now I reserved 192.168.254.101 to my laptop (connected to router via wifi) so even if it's dynamic IP, I will always have that address (effectively working like a static IP).

    Is there any diagnostics I can run (cmd line or some tool) that can help us tell what's going wrong?
      My Computer


  9. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #19

    All I can think of at the moment is where id the tomcat folder? Perhaps it is a permission issue.
      My Computer


  10. Posts : 312
    Windows 7 Professional SP1 x64 (OEM)
    Thread Starter
       #20

    Hello GokAy :)

    GokAy said:
    This myWebApp is the actual app or some management screen? I read that tomcat by default restricts management from Internet or something like that :)
    myWebApp is the actual app itself.

    GokAy said:
    All I can think of at the moment is where id the tomcat folder? Perhaps it is a permission issue.
    Code:
    D:\xampp\tomcat
    Here are my most current settings:

    1) Set Dynamic IP with reservation.



    2) Checked ipconfig.

    Code:
    Wireless LAN adapter Wireless Network Connection:
    
       Connection-specific DNS Suffix  . :
       Link-local IPv6 Address . . . . . : fe80::7db6:2f63:90fe:38b4%12
       IPv4 Address. . . . . . . . . . . : 192.168.254.101
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : fe80::1%12
                                           192.168.254.254
    3) Set port forwarding rule.



    4) Set inbound/outbound rules for port 8080 in Windows 7 Firewall.







    5) Tested port.



    Those are the configurations I did. If you need other details to help diagnose, please let me know.
      My Computer


 
Page 2 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:50.
Find Us