IIS and Glassfish - iis

I hava a VPS running Windows Server 2008 and I have a web application deployed in Glassfish 4. How can I make glassfish listen to port 80, I know it has something related with IIS and I am not familiar with it please can someone help me?

If you have IIS installed (which is not by default on Win 2008), it is probably using the port 80 for its default web site. Stop it, or change the port is working on.

Related

Hosting website in INTRAnet environment

Is there any safe way to host a site Net core website through a installer (may be in IIS), similar to any desktop application installer?
e.g. Neo4j works as webservice but has its own jetty server to host. U just download and its up and working.
I dont understand your problem. Why you just dont run your app with Kestrel? (dotnet <patch_to_your_dll)

IIS FTP 8.5 DataChannel timeout with a linux client

I've got a strange situation. Hope someone can help. I've got two independent IIS FTP servers.
IIS 7.5 runs as standalone VM
IIS 8.5 runs on a windows server 2012 R2 VM
When I connect to these ftp servers using FileZilla client (or the pftp client on ubuntu), both work as expected, really well. Passive mode, no problem.
When one of my customer's linux client is connecting, it works great on the IIS 7.5, but it does not work on the IIS 8.5
It stops after the PASV command with a timeout. The linux client is running a custom app on fedora which has FTP functionality embedded in it.
For authentication i'm using IIS Manager Users.
Does anyone have an idea of what this could be? Or how to troubleshoot this?? I can test, and see everything working, except when the clients processes are entering the scene!

Clickonce - Publishing Application via FTP but not using default port 21

Our web server uses port 3434 for FTP. It doesn't seem to change the default FTP port number in ClickOnce Deployment in Visual Studio. Has anyone encountered this problem?
It turns out that I just needed to add port number after the IP address like ftp://1.123.123.123:3434

Connect from VM XP on win 7 to win7 iis localhost

Developing an MVC application, i now need to have test other browser versions.
Installed the VM XP on win 7. That is running good. Got IE8 installed and FF 3.6. I know IE9 has a compat mode for 8 and 7, but read some articles that these may not run exactly as their stand alone versions. I got IE8 installed on the VM XP, so now i need to connect to my IIS Win7 localhost.
IS there anyway to do this? and How?
You need to configure your HOST PC's firewall to allow the VM (and perhaps other machines) to connect on port 80.
You can then navigate to http://hostmachinename in the VM.
Although my firewall was off, i was able to connect using the local machine name or ip address, as stated above by SLaks. So, if anyone has there firewall on, you may have to allow the VM to access the ports.
I did set the VMXP >> Tools >> Settings >> Networking to my Nic/ethernet card.
Not sure if this had any effect.
I also had trouble at first not getting the .NET MVC website to run. But then realized our web.config is setup to take only https. I had my website running on 2 ports, one for is for SSL. When i use the https secure port, it connected. So iguess the web app was seeing the VM as another computer tryingto coinnect, that was not local, so it required it to connect by https.

VS2010 throws exception while opening project

When I try opening a project I get an exception saying Web application is configured to use IIS.
Error : The Web Application Project EntityServices is configured to use IIS. To access local IIS Web sites, you must install the following IIS components:
IIS 6 Metabase and IIS 6 Configuration Compatibility
In addition, you must run Visual Studio in the context of an administrator account.
NOTE - I have already installed IIS 7. My box is a x64 bit Windows 7 box.
Go to Control Panel, Programs and Features, Turn Windows Features On or Off, and enable IIS 6 Metabase and IIS 6 Configuration Compatibility.
Have you installed IIS6 Metabase support? It is a seperate install from IIS7, although in the same area.
Turn Windows Features ON and OFF -> IIS Services-> Web Management Tools -> IIS Management Compatibility and check IIS Metabase and IIS 6 configuration Compatibility
This also happened to me when I had reconfigured the TCP Port on IIS to port 81. I was running TCPTrace, capturing traffic on port 80 and forwarding it to IIS at port 81.
After a reboot, I had to reconfigure IIS' TCP Port to 80 and the problem was resolved.
I got the same error the solution is that you should open with notepad (web project)it's csproj file and remove this tag
<UseIIS>True</UseIIS>
you need to turn on asp.net :
controlpanel- Turn Windows Features ON and OFF -> IIS Services-> www- > application Dewvelopment features check the asp.net on
In my case (Same error)
i solved my problem with following steps.
1-)open your project file with a text editor.
2-)find "USEIIS" tag and replace its value with "False". save and exit.
3-)reopen your project file with visual studio

Resources