Solved

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

Posted on 2008-06-10
4
284 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now