Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-06-10
4
Medium Priority
?
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

721 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