06-21-2011 06:41 PM - edited 03-04-2019 12:46 PM
Hi,
I hope there any someone here can help me out.
Apparently the problem seems simple enough however I couldn't get it working. My router is being configured to access a web server in the network which is on port 80. However, port 80 is being used by my router's setup page. Therefore whenever I key in my public IP address, it will just immediately direct me to the router's page.
I have also tried opening up other ports like 5050 and set my web server to port 5050. Internally within the LAN itself everyone can access the web server with port 5050. However, going from public IP address with port 5050 doesn't work. Am I missing anything here?
All the firewalls are configured.
Thanks in advanced.
Solved! Go to Solution.
07-01-2011 01:38 AM
Hi,
You need to see connections on your router when testing from the internet. This is not correct, tcp xxx.xxx.xxx.xxx:5050 192.168.1.39:80 ---
Pleast post "show running" here again. If it works with tcp/21 and tcp/1723. It should not be a problem with tcp/5050.
Toshi
07-01-2011 01:40 AM
Hi Toshi,
Therefore I shouldn't be using the same internet connection as the server if that is what you mean?
07-01-2011 01:43 AM
Hi,
If I open web browser or do telnet on my pc now, you should see connections. And you already did telnet or console to router to type "show ip nat trans" and "show access-l" at the same time. Yes,I'm in the internet. This is what we want to test.
Post the result of command below
!
Router#telnet 192.168.1.39 5050 /source-interface fastether4
!
Toshi
07-01-2011 02:03 AM
Hi Toshi,
I type in "! Router#telnet 192.168.1.39 5050 /source-interface fastether4 !"
however there is no result showing. Just like pressing enter again.
Result:
xxx10M#$net 192.168.1.39 5050 /source-interface fastether4!
xxx10M#
07-01-2011 02:05 AM
Hi,
Please do this
xxx10M#telnet 192.168.1.39 5050 /source-interface fastether4
Toshi
07-01-2011 02:08 AM
Hi Toshi,
I'm seeing my WAMP server stuff coming out
xxx10M#telnet 192.168.1.39 5050 /source-interface fastether4
Trying 192.168.1.39, 5050 ... Open
^C
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
[Connection to 192.168.1.39 closed by foreign host]
07-01-2011 02:10 AM
Hi,
Okay. Please post the current running configuraion.
xxx10M#show running.
Toshi
07-01-2011 02:13 AM
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description 00062299sng$ES_WAN$
ip address xx.xx.xx.xx 255.255.255.252
ip nat outside
ip virtual-reassembly
duplex full
speed 100
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address xx.xx.xx.xx 255.255.255.240 secondary
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip dns server
ip nat inside source list 1 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.1.39 21 interface FastEthernet4 21
ip nat inside source static tcp 192.168.1.201 1723 interface FastEthernet4 1723
ip nat inside source static tcp 192.168.1.39 5050 interface FastEthernet4 5050
ip route 0.0.0.0 0.0.0.0 xx.xx.xx.xx
!
access-list 1 permit 192.168.1.0 0.0.0.255
no cdp run
07-01-2011 02:17 AM
Hi,
Okay , Just read your private message.
Toshi
07-01-2011 02:23 AM
See reply.
07-01-2011 02:35 AM
Hi,
I'm 100% sure that we cannot open connections to your router with tcp/5050. Then ask your ISP. I'm 100% sure that you can use TCP/80(http) to connect to your web server.
Please change the port on web server to TCP/80. And we will test it.
Toshi
07-01-2011 02:41 AM
Hi Toshi,
I have changed it to port 80 for the web server. However by typing the public ip address to the URL it is still going to the router setup page.
07-01-2011 02:44 AM
Hi,
No, Its not. I saw WampServer Apache Server 2.2.17. It's working like a charm. Where are you testing from?
Keep in mind you need to test when you're not in Local LAN 192.168.1.0/24 and you can access the internet.
Toshi
07-01-2011 02:46 AM
Kept forgetting I'm on LAN.
If you saw it then it should be working fine.
Thanks for the help!
07-01-2011 02:47 AM
Hi,
Hahaha.... It's okay
Toshi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide