Networking :: How to open port 80 for monkey?



I can run Monkey (I type "localhost" in dillo's address bar) and it is running fine.
Trouble is I can't open port 80 so I can see my pages on other computers. Not even in my LAN, and I have port 80 open in my router.
I've checked the open ports in command line, and there are none. I've read in the FAQs (or was it the wiki?) that DSL comes with all ports closed by default.

So... How do I open a port?
Thank you guys.

Starting any websever will open a port. Which port depends on the server's configuration file. The default Monkey server in DSL opens port 80. Perhaps your issue is a nameserver/DSL issue? Are you trying to access by IP number or name.

To see Monkey opened port 80, type

netstat -nl | grep 80

Thank you for your reply.
I am trying to access DSL by IP, not name.
So, you were right, when monkey is not running, that command didn't do anything, but when it WAS running, it presented this output:
root@box:~# netstat -nl | grep 80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN    

I don't like the address 0.0.0.0 then port 80.
I know that my LAN address for this machine is 192.168.2.102 so I'm guessing that the problem lies there. Any sugestions?

P.S. I tried editing monkey.conf from ServerName 127.0.0.1 to ServerName 192.168.2.102 and restart monkey but still, no dice.

P.P.S. edit: I can access the monkey page in my DSL machine either by putting localhost or 192.168.2.102 in the address bar. But not from other machines in my LAN but I can connect to them (samba for instance) and to the internet (this post was made from the computer in question)

A little primer on ports. Rather than saying that DSL has all ports closed by default, it would be clearer to say that DSL does not run any remote servers by default. No servers mean that they don't open any ports. There isn't anything special you have to do to open these ports other than run a server, such as monkey.

You mentioned that you opened a port in your firewall. That is no good unless you are running the service on your firewall, which is sounds like you are not. You need to forward port 80 to your DSL machine.

But it sounds like you have bigger problems, if you can't even access your web server from another computer on you LAN. Monkey should work by default. It did for me.

Few questions:
1) Are you running a firewall on your DSL machine? Router doesn't count, because you can't access from your LAN either. Are you running iptables or something like that? DSL does not have a firewall installed by default.

2) Could you post your monkey.conf file? I'm stumped. Maybe someone will spot something in that.

3) LiveCD, Frugal, HD Install, or other?

Is there anything else you can think of that you might have done? Any sort of weird routing software on your DSL box?

Edit: Really, my first impression to your problem is that monkey is bound on the lo interface. This would mean that you can only access it from the computer it is running on. I don't know why it would be bound like that, or how to fix it. I'm pretty sure it isn't by default. It might be a monkey.conf option.

I tried Monkey. It kept closing down after some hours.

I can recommend install Apache through MyDSL.

Type in the paths in the config file and start by executing httpd.

Someone please correct me if wrong og elaborate.

Try mine at http://83.52.35.50

Next Page...
original here.