View Full Version : Problem setting up webserver (router)
CheezFry
05-17-05, 03:44 PM
I'm trying to enable a web/ftp server on my computer using the No-IP service. The problem is that when I type in the site on another computer or my own, it comes out with a password prompt for my router. Is there any way to bypass this?
I'm using a Linksys Model WRT56G Router. When I unplug the router and connect the computer directly, it works fine, so I don't think I'm having issues with Norton Firewall.
EDIT: When I try http to connect, it brings me to my router. When I try ftp, Firefox can't load it. When I use a Filezilla to connect to ftp it works.
Fightingpiper
05-17-05, 03:54 PM
did you forward port 80 (web) and 21 (Ftp) to the correct computer?
Slackfumasta
05-17-05, 03:57 PM
Are you trying to type in the name from inside your own network where the webserver is hosted? If so, that won't work, you'll get your router config page instead.
Have a friend outside the network try it, or post the address here and we can try it out.
CheezFry
05-17-05, 04:28 PM
So far I only have my ftp server configured so I have opened port 21, and I have also opened ports 6000-6100 for PASV Mode. Now when I (or a friend) types in the address, they get to ftproot. But when they click on the folder for it, nothing is displayed.
BTW I'm using Cerberus FTP Server.
Server address is ftp://woosh.serveftp.com.
EDIT: I can post the server logs if you think it will help.
Please remove that link. You have stuff on that server that is not allowed to be linked from this forum.
It works fine here except that I have to refresh the page once I am in ftproot and for every folder I go in a quick refresh shows the contents.
CheezFry
05-17-05, 06:34 PM
I removed the other folders from the server and left just a text file.
You can access my server at ftp://woosh.serveftp.com
Slackfumasta
05-17-05, 10:42 PM
You don't need to open those upper ports for PASV mode to work, but make sure that the person on the other end is running their client in passive mode when they connect.
CheezFry
05-18-05, 03:53 PM
I think the problem might be that it is trying to connect to other computers on my network, because the connection keeps timing out. Is there any way to force the router to send all inbound ftp requests to a certain IP? Its odd though, because if I use an FTP Client (Filezilla, LeechFTP, etc.) I connect right away, but if I use Firefox or IE it either times out or just keeps trying to load the page.
I have forwarded ports 21 and 6000-6100 (PASV) in my router to my IP.
In Firefox: ftp://woosh.serveftp.com
Log File (Connecting via same computer in Firefox):
Wed May 18 16:55:03 2005 Attempting to detect WAN IP...
Wed May 18 16:55:03 2005 WAN IP detected as 67.82.159.168
Wed May 18 16:55:03 2005 Vendor: GenuineIntel
Wed May 18 16:55:03 2005 CPU: Intel Pentium IV
Wed May 18 16:55:03 2005 Number of Processors: 2
Wed May 18 16:55:03 2005 Operating System: Microsoft Windows XP Home Edition
Wed May 18 16:55:03 2005 Additional Info: Service Pack 2 (Build 2600)
Wed May 18 16:55:03 2005 Cerberus FTP Server started
Wed May 18 16:55:03 2005 Local Host: localhost
Wed May 18 16:55:03 2005 Local Interface 0 located at 192.168.1.100
Wed May 18 16:55:03 2005 Listening on Port 21
Wed May 18 16:55:09 2005 0 Incoming connection request on interface 192.168.1.100
Wed May 18 16:55:09 2005 0 Connection request accepted from 192.168.1.100
Wed May 18 16:55:09 2005 0 USER anonymous
Wed May 18 16:55:09 2005 0 331 User anonymous, password please
Wed May 18 16:55:09 2005 0 PASS ***********
Wed May 18 16:55:09 2005 0 Anonymous user "anonymous" logged in with password "mozilla@example.com"
Wed May 18 16:55:09 2005 0 230 Password Ok, User logged in
Wed May 18 16:55:09 2005 0 SYST
Wed May 18 16:55:09 2005 0 215 UNIX Type: L8
Wed May 18 16:55:09 2005 0 PWD
Wed May 18 16:55:09 2005 0 257 "/" is the current directory
Wed May 18 16:55:09 2005 0 TYPE I
Wed May 18 16:55:09 2005 0 200 Type Binary
Wed May 18 16:55:09 2005 0 PASV
Wed May 18 16:55:09 2005 0 227 Entering Passive Mode (67,82,159,168,0,21)
Wed May 18 16:55:09 2005 0 SIZE /
Wed May 18 16:55:09 2005 0 213 0
Wed May 18 16:55:09 2005 0 MDTM /
Wed May 18 16:55:09 2005 0 213 19790101000000
Wed May 18 16:55:09 2005 0 RETR /
Wed May 18 16:55:09 2005 0 500 User does not have download permission
Wed May 18 16:55:09 2005 0 PASV
Wed May 18 16:55:09 2005 0 227 Entering Passive Mode (67,82,159,168,0,21)
Wed May 18 16:55:09 2005 0 CWD /
Wed May 18 16:55:09 2005 0 250 Change directory ok
Wed May 18 16:55:09 2005 0 LIST
Wed May 18 16:56:51 2005 0 Connection timed out. Shutting down connection...
Wed May 18 16:56:51 2005 0 150 Opening data connection
Wed May 18 16:56:51 2005 0 500 List command failed
Wed May 18 16:56:51 2005 0 Connection terminated.
pik4chu
05-18-05, 08:03 PM
yes that is doable, what kind of router do you have? most current routers in thier config pages have an option for "port forwarding" you want to use that and set port 21 to forward to your server ad you should be golden. Then do the same for 80 (and 443 if your using SSL) when you get your web server up
Is there any way to force the router to send all inbound ftp requests to a certain IP?
Yes, it is called port forwarding. You should already be doing it otherwise it wont work and it was working before.
CheezFry
05-19-05, 03:29 PM
They are already being forwarded. But people who try to connect still get Connection Timed Out.
CheezFry
05-19-05, 03:32 PM
Maybe its just my server program (Cerberus)... I'm going to try a different one and see if it works better. When you connect I see your IP and connection in the log, then the connect just fails.
They are already being forwarded. But people who try to connect still get Connection Timed Out.
Double check the port you are forwarding to the port your FTP server is using, Then double check the inner IP you are forwarding to, to make sure that it is the right IP for the computer running the FTP server. Al;so make sure the FTP server program is running.
CheezFry
05-19-05, 03:55 PM
I have turned off NAT on my router and norton firewall on my computer, and I have forwarded ports 20-21.
Why would you turn off NAT on your router? What is doing the NAT now?
CheezFry
05-19-05, 05:44 PM
I was just turning off the security settings see if those were the problem.
OK, well it was working before so something you changed has caused it to not be working now.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.