Solved

Allow access to .NET website hosted on 8081 or other ports

Posted on 2008-06-10
4
290 Views
Last Modified: 2013-12-14
Hello,

I am trying to setup my webserver IIS 6.0 .
It hosts my .NET website designed Visual Studio 2003  on port 8081

The way it is currenlty set up, I can browse the website locally (localhost:8081/login.aspx), but can't browse it from a PC that is in the same local network. Also outside web users can't see it.

I think it is just a matter of setting a certain, necessary permissions.

If I allow maximum access to Everyone, ASP.NET, IUSR, IWAM etc accounts then it works fine.

What are the regular basic steps (not jepardizing security of the server) that you would perform to allow access to this site for local network PC or outside web user?
What accounts must have what permissions and where?

I don't want to keep my C drive and my WebFolder open to everyone or have any other un necessary volnerable settings.

Thank you in advance
0
Comment
Question by:Terrace
  • 2
  • 2
4 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 21759826
sounds more like a firewall is blocking access to port 8081, either on your system or soemwher in the LAN
0
 

Author Comment

by:Terrace
ID: 21761668
The firewall is one of the first things I checked.
On the Server itself - the Firewall service is not running (When I try to go to Windows Firewall it prompts me that this service is not running and that I can start it if I want).

For outside web users to have access to the site - I know I should open a port in our main company firewall. (that's clear)

One issue that I still have is - what is preventing me to access that website internally using PCs that are in our local network (as intranet site)?
The firewall on PCs is disabled.

Thanks
0
 

Author Comment

by:Terrace
ID: 21762140
I solved my "mistery" of not being able to see website inside my local network.
I was using IP address of the webserver.
My server has 2 NIC cards. I set up one of them with this IP address and disabled the other one (for time being). Someone made a swap, and disabled NIC card were my static IP was assigned.

Anyway, website is now up an running fine.

Still, going back to original question - I would like to know if someone can give me few good advices or links how to run website with .NET content and have server tightly secure.

Thanks
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 21762994
> .. and have server tightly secure.
could you plase be more specific on that.
If you want to have a secure application, you need to do secure coding, oviously.
If you mean you want to protect your server, then a traditional firewall in front (not build-in) should be the first step.
If you have already unsecure web applications, then a web application firewall aka WAF might help.
If your web applications are vulnerable to (their) session management, then you definitely have to correct that in the code there, no firewall can do that (well, some can help a bit).
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question