External HTTP >; internal to the web server
Hello
I have a router ADSL with a public IP assigned, preforming NAT. This leads to a 506th PIX which leads to a Web server. The entire interior of the ADSL is on private IP addresses.
I want to allow external users access to the Web server on port 80.
I inwardly and outwardly put up ICMP connectivity (for testing only) and it works correctly.
I created a virtual server on the ADSL router that forwards port 80 traffic to the external interface of the web server. It has worked successfully for half an hour and then something in the config changed PIX and it no longer works. Here is my config PIX
SH conf
: Saved
: Written by xxxxx at 08:41:10.001 NZST Thursday, October 13, 2005
6.3 (4) version PIX
interface ethernet0 car
Auto interface ethernet1
ethernet0 nameif outside security0
nameif ethernet1 inside the security100
enable the encrypted password xxxxxxxx
xxxxxxxxx encrypted passwd
hostname PIX
domain ciscopix.com
clock timezone GMT
fixup protocol dns-length maximum 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
icmp protocol error correction
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol 2000 skinny
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
no names
name 192.168.5.3 PixExt
name PixInt 192.168.6.1
name 192.168.5.1 ADSLInt
name 192.168.6.2 WebExt
acl1 list access permit icmp any any echo response
access-list acl1 allow icmp all once exceed
access-list icmp permitted acl1 everything all inaccessible
acl1 list access permit tcp any host 192.168.6.2 eq www
pager lines 22
opening of session
timestamp of the record
Record being buffered memory errors
logging trap notifications
ICMP allow all outside
ICMP allow any inside
Outside 1500 MTU
Within 1500 MTU
external IP 192.168.5.3 255.255.255.0
IP address inside 192.168.6.1 255.255.255.0
alarm action IP verification of information
alarm action attack IP audit
location of PDM 192.168.6.2 255.255.255.255 inside
PDM logging 100 information
history of PDM activate
ARP timeout 14400
NAT (inside) 0 192.168.6.0 255.255.255.0 0 0
Access-group acl1 in external interface
Route outside 0.0.0.0 0.0.0.0 192.168.5.1 1
Timeout xlate 0:05:00
Timeout conn 01:00 half-closed 0:10:00 udp 0: CPP 02:00 0:10:00 01:00 h225
H323 timeout 0:05:00 mgcp 0: sip from 05:00 0:30:00 sip_media 0:02:00
Timeout, uauth 0:05:00 absolute
GANYMEDE + Protocol Ganymede + AAA-server
AAA-server GANYMEDE + 3 max-failed-attempts
AAA-server GANYMEDE + deadtime 10
RADIUS Protocol RADIUS AAA server
AAA-server RADIUS 3 max-failed-attempts
AAA-RADIUS deadtime 10 Server
AAA-server local LOCAL Protocol
Enable http server
http 192.168.1.0 255.255.255.0 inside
http 192.168.6.2 255.255.255.255 inside
No snmp server location
No snmp Server contact
SNMP-Server Community public
No trap to activate snmp Server
enable floodguard
Telnet timeout 5
SSH timeout 5
Console timeout 0
dhcpd lease 3600
dhcpd ping_timeout 750
xxxxx xxxxxxx privilege 15 encrypted password username
Terminal width 80
Cryptochecksum:xxxx
DMZInside (config) # route sh
outside 0.0.0.0 0.0.0.0 192.168.5.1 1 ANOTHER static
outside 192.168.5.0 255.255.255.0 192.168.5.3 1 static CONNECTION
inside 192.168.6.0 255.255.255.0 192.168.6.1 1 static CONNECTION
DMZInside (config) #.
No idea where I have gone wrong?
Thank you.
you are missing this statement
public static 192.168.6.2 (Interior, exterior) 192.168.6.2
Thank you
Nadeem
Tags: Cisco Security
Similar Questions
-
PIX 501 problems with the web server internal.
I want to open for my internal Web server, so it can be accessed from outside and I read about it here and how to do it and I do what I think of his right, but I can´t operate.
Now I just tried to open the http port standard 80 but later I want to open a specific port and also use SSL on the web server for added security.
Then I would like my setup now get help and also how to do when using other ports and SSL later.
Thanks Thomas!
6.3 (1) version PIX
interface ethernet0 10baset
interface ethernet1 100full
ethernet0 nameif outside security0
nameif ethernet1 inside the security100
alfta hostname
domain ciscopix.com
names of
name 192.168.1.16 TerminalPC
name 192.168.3.0 Lager
permit 192.168.1.0 ip access list inside_nat0_outbound 255.255.255.0 192.168.2.0 255.255.255.0
permit 192.168.1.0 ip access list inside_nat0_outbound 255.255.255.0 255.255.255.0 Lager
permit 192.168.1.0 ip access list outside_cryptomap_20 255.255.255.0 192.168.2.0 255.255.255.0
permit 192.168.1.0 ip access list outside_cryptomap_40 255.255.255.0 255.255.255.0 Lager
outside_cryptomap_60 ip access list allow
192.168.1.0 255.255.255.0 192.168.2.0 255.255.255.0
outside_access_in tcp allowed access list all eq www
host 62.108.197.90 eq www
IP outdoor 62.108.197.90 255.255.255.192
IP address inside 192.168.1.254 255.255.255.0
alarm action IP verification of information
alarm action attack IP audit
location of PDM 62.108.197.10 255.255.255.255 outside
location of PDM 62.108.197.11 255.255.255.255 outside
location of PDM 192.168.1.0 255.255.255.255 inside
location of PDM TerminalPC 255.255.255.255 inside
location of PDM 192.168.2.0 255.255.255.0 outside
location of PDM Lager 255.255.255.0 outside
location of PDM 192.168.2.0 255.255.255.0 inside
location of PDM 62.108.197.137 255.255.255.255 outside
location of PDM 62.108.197.137 255.255.255.255 inside
location of PDM 195.67.210.72 255.255.255.255 outside
location of PDM 62.108.197.90 255.255.255.255 inside
PDM logging 100 information
Global 1 interface (outside)
NAT (inside) 0-list of access inside_nat0_outbound
NAT (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside, outside) tcp 62.108.197.90 www TerminalPC www netmask 255.255.255.255 0 0
Access-group outside_access_in in interface outside
Route outside 0.0.0.0 0.0.0.0 62.108.197.65 1
Enable http server
http 62.108.197.10 255.255.255.255 outside
http 62.108.197.11 255.255.255.255 outside
http 195.67.210.72 255.255.255.255 outside
http 192.168.1.0 255.255.255.0 inside
http 62.108.197.137 255.255.255.255 inside
enable floodguard
Permitted connection ipsec sysopt
Crypto ipsec transform-set ESP-DES-MD5 esp - esp-md5-hmac
Crypto ipsec transform-set esp strong - esp-sha-hmac
outside_map 20 ipsec-isakmp crypto map
card crypto outside_map 20 match address outside_cryptomap_20
peer set card crypto outside_map 20 195.198.46.88
outside_map card crypto 20 the transform-set ESP-DES-MD5 value
outside_map 40 ipsec-isakmp crypto map
card crypto outside_map 40 correspondence address outside_cryptomap_40
peer set card crypto outside_map 40 62.108.197.137
outside_map card crypto 40 the transform-set ESP-DES-MD5 value
outside_map 60 ipsec-isakmp crypto map
card crypto outside_map 60 match address outside_cryptomap_60
peer set card crypto outside_map 60 195.198.46.88
card crypto outside_map 60 the transform-set ESP-DES-MD5 value
outside_map interface card crypto outside
ISAKMP allows outside
ISAKMP key * address 62.108.197.137 netmask 255.255.255.255
ISAKMP key * address 195.198.46.88 netmask 255.255.255.255
part of pre authentication ISAKMP policy 10
encryption of ISAKMP policy 10
ISAKMP policy 10 sha hash
10 1 ISAKMP policy group
ISAKMP life duration strategy 10 86400
part of pre authentication ISAKMP policy 20
encryption of ISAKMP policy 20
ISAKMP policy 20 md5 hash
20 2 ISAKMP policy group
ISAKMP duration strategy of life 20 86400
Telnet 192.168.1.0 255.255.255.255 inside
Get out your ACL - access-list outside_access_in permit tcp any host 62.108.197.90 eq www
And a new application:
outside_access_in list access permit tcp any host 62.108.197.90 eq www
Access-group outside_access_in in interface outside
* You have the group-access above on your original configuration message, BUT not on the above post.
Don't forget to issue clear xlate after the change and also record with write mem.
Try to do this in the pix CLI instead of using PDM.
Hope this helps and let me know how you go.
Jay
-
Just upgraded to 8 Captivate and for some reason my server any internal messages is no longer work on the web server. I can test locally the lesson that always points to the Web server and it works. Can't understand why when it is on the server it does not work. The ashx handler that manages to post is fully accessible to the web server and DNS solves very well so I can't understand why he doesn't hit the Manager. I use IIS to host it and a .ashx for managing for results.
Is there maybe something new that needs to be allowed in IIS for 8 Captivate work? .js seems to be fine and firewall is not the issue. Short of ideas and the need for this work as soon as possible.
Thank you very much for your help!
Nick
OK, finally solved. For some reason any run under HTTPS lesson could not publish my results. As soon as I changed to HTTP the results perfectly. All of this makes sense why I could post locally on the Web server. Hope this saves someone else 5 days of hell.
-
Hello
I run the Web server in the os(xp pro) host and now I want to run the Web server in the guest operating system
I put things in the host operating system, follow
router setting page (shared ip settings page)
1 DHCP using OFF
2 DMZ host server using on 192.168.10.201
3. setting of virtual server 192.168.10.201 port TCP port internal external port 81 81
TCP/IP
1 use the following IP 192.168.10.201
2 gateway 192.168.10.1
3. the DNS settings of
4. on the Advanced tab > Internet connection sharing > VMware Network Adapter VMnet 8
for now, when someone tries to access my WAN IP then page host server is apear (from external network)
If I stop server Web host then cannot access my WAN IPand in VMware, I put the (Windows XP Pro)
TCP/IP configuration
1 use the following IP 192.168.88.201
2. default gateway 192.168.88.2
3. the DNS settings of
4. click the guest OS tab and click Edit > virtual network editor > NAT VMnet host is VMnet8
5. setting NAT > Port forwarding > Add >: host port 81 machine virtual ip address 192.168.88.201 port 81
and at the moment access to 192.168.88.201 in the guest operating system is ok the page is apear
but nothing is apear when try and access my WAN IP external network and if I start it the host Web server then the host page is apear that im is not the intention of
How can I make the Web server of the guest to access other networks operating system?
in the guest operating system, I can access Web server of the customer by access 192.168.10.201
but I can't access Web server of the client by typing host operating system access the 192.168.10.201
any ideas? My version of vmware's vmware-workstation - 6.5.2 for windowsHi Teayun,
Thanks for visiting the site of the community of Microsoft Windows XP. The question you have posted is related to VMware and would be better suited to the VMware or TechNet community. Please visit the link below to find a community that will support what ask you
http://www.VMware.com/support/
http://TechNet.Microsoft.com/en-us/default.aspx Shawn - Support Engineer - MCP, MCDST
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
How can I access the web server by using sound!
I have a LAN with the address 192.168.2.0 255.255.255.0.My internal address is 192.168.0.22, it map to the 61.154.9.64 address (public). How can my internal hosts access to the web server using sound!
DNAT (Destination NAT) comes to mind - click here to see if it helps:
http://www.Cisco.com/warp/public/110/alias.html
Jay
-
start the Web server in different folders
I developed a compiled VI (Smarts - Net .exe) that has been designed to operate in a specific folder (\Smarts-Net) and activated the Server Web page of Smarts - Net .html in the same folder. So far so good.
The application receives data in real time produced another of our programs and generates graphs to show "what happens".
My clients would like run multiple instances of my program for their customers, but want to isolate their customer 'A' customer 'B' so that they cannot display the data on the other. I can start my application using different IP ports so that I can have multiple views, but I want to further isolate the data of the customer in different folders.
I did a 'manager' program that will create a subfolder of the folder in my main application (\Smarts-Net) so that it would appear as "\Smarts-Net\JobA" and copy all the files in the main folder in the new subfolder. I then change the of Smarts - Net .ini file with the new pathname of the file and the new port like this number:
[Smarts-Net]
server.app.propertiesEnabled = True
Server.OLE.Enabled = True
Server.TCP.servic = "My Server computer/VI"
server.vi.propertiesEnabled = True
WebServer.DirectoryIndex = "index.htm"
WebServer.LogEnabled = True
WebServer.LogPath=C:\Smarts-Net\Logs\Smarts-Net.log
WebServer.MimeTypes = (a LOT of Mime types in here... I left aside for this post)
WebServer.Port = 9501
WebServer.Enabled = True
WebServer.RootPath=C:\Smarts-Net\JobA
WebServer.TcpAccess = "" + c * ' "
WebServer.ViAccess = "' + * '"
DebugServerEnabled = False
DebugServerWaitOnLaunch = FalseAfter you change the .ini file, I start the application (Smarts - Net .exe) to the new folder.
This is where I need help. If I try to display the VI from another computer using an address like http://snape:9600/JobA/Smarts-Net.html, I get an "HTTP 404 - File not found" error. But, if I try to http://snape:9600 / Smarts - Net .html, I get the VI Panel!
Thus, it seems that I can change the Port in the .ini file, but not the RootPath. Does anyone know how to get the html to load from a different folder from the one specified when I created the application code?
Hello Steve,.
From your description it looks that the web server is already doing what you say you need for.
There is a difference between the URL path, the path that is entered in the browser and the path of file system, the location of the file on the disk.
The WebServer.RootPath token specifies the directory of the file system that corresponds to the root directory, "/", in the URL. You have specified C:\Smarts-Net\JobA as root your path so all files in this directory will be the URL of the http://mycomputer:myport / myFile. If you want the URL of http://mycomputer:myport/Logan/myFile then you need to have your root C:\Smarts-Net\ directory.
Does make sense?
Nathan
-
Activation of scripts on the Web server
I found this, but cannot locate Scripting on the Web Server: Configuration page
Activation of scripts on the Web server
To use the script with a Web service, you must enable the feature on the Web of LabVIEW server. In LabVIEW, select the script on the Web Server: Configuration page in the dialog box Options to enable the use of scripts on the Web server.
http://zone.NI.com/DevZone/CDA/tut/p/ID/7738
It seems that scripting is enabled automatically.
-
What is the web server integrated for Windows XP Professional?
Hello
I would like to know what the web server integrated for Windows XP Professional.
I don't know of a free web server like Apache or IIS.
I want to host my site on the net using the web server integrated in XP (not IIS).
Thanks in advance.
It is not just any server web, other than IIS, integrated with Windows XP Professional.
You think perhaps of Personal Web Server (PWS) which was part of the old operating systems like Windows NT. Which no longer exists in Windows XP Professional - it has been replaced by IIS.
-B-
http://www.officeforlawyers.com | http://www.OneNote-tips.com
Author: Guide to counsel for Microsoft Outlook -
Picture POST on the web server problem
Hi gurus
I am trying to display a picture jpg on a web server. I tested my PHP script on the server and I am able to upload an image using a form. Now I am making an application Blackberry POST the image on the server by using the same script however when I test the code in Java, PHP tells me that nothing has been published, I don't know what I'm doing wrong but I am doing something like this:
String mBoundary = "SUPSUPSUPSUP"; /* Preparar objeto a enviar */ InputStream mImagen = this.getClass().getResourceAsStream("sample.jpg"); byte[] mBytesPostear = IOUtilities.streamToBytes(mImagen); HttpConnection mConexion = (HttpConnection) Connector.open("http://www.raspberry.com/script.php"); /* Preparar headers del POST. Es multiformulario con POST de un archivo */ mConexion.setRequestMethod(HttpConnection.POST); mConexion.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE, HttpProtocolConstants.CONTENT_TYPE_MULTIPART_FORM_DATA + ";boundary=" + mBoundary); mConexion.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_LENGTH, String.valueOf(mBytesPostear.length)); mConexion.setRequestProperty( "x-rim-transcode-content", "none" ); /* Preparar contenido de salida */ ByteArrayOutputStream mOutput = new ByteArrayOutputStream(); OutputStream mOS = mConexion.openOutputStream(); /* Escribir contenido */ String nuevaLinea = "\r\n"; String contDisp="Content-Disposition:form-data; name=\"foto\";filename=\"sample.jpg\""; String contEnc = "Content-Transfer-Encoding: binary"; String type="Content-Type:image/jpeg"; mOutput.write(nuevaLinea.getBytes()); mOutput.write("--".getBytes()); mOutput.write(mBoundary.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(contDisp.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(type.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(contEnc.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(mBytesPostear); mOutput.write(nuevaLinea.getBytes()); mOutput.write("--".getBytes()); mOutput.write(mBoundary.getBytes()); mOutput.write("--".getBytes()); mOutput.write(nuevaLinea.getBytes()); /**********************/ /* Escribir el contenido */ mOS.write(mOutput.toByteArray()); mOutput.flush(); mOutput.close(); mOS.flush(); mOS.close(); /* Recibir respuesta del servidor */ InputStream mIS = mConexion.openInputStream(); int mLongitud = (int) mConexion.getLength(); if (mLongitud > 0) { int mActual = 0; int mBytesLeidos = 0; byte[] mBytes = new byte[mLongitud]; while ((mBytesLeidos != mLongitud) && (mActual != -1)){ mActual = mIS.read(mBytes, mBytesLeidos, mLongitud - mBytesLeidos); mBytesLeidos += mActual; } String mRespuesta = new String(mBytes); System.out.println("Respuesta: " + mRespuesta); }
I just tried to clone the header sent by Chrome when I use the form, I think that they have the same information.
My PHP script first checks to see if something has been posted, if nothing has been validated, it returns a message so I'm able to "consume" the script on the web server and I see that the BlackBerry is the download of the data, but the answer is that nothing has been reported.
I think I sent you the info about the server in the wrong format.
Any help would be greatly appreciated.
Thank you!
Thank you all, it works fine now, I send you the length of the full header now, it works now, I'm sharking my code. Just create and instance of this object, passing the URL of web script and the bytes of the image to the constructor, then call the getRespuesta() method
Here we have the code:
public class PostImagen { private String mURL; private byte[] mDatos; public PostImagen(String URLServicio, byte[] Datos){ mDatos = Datos; mURL = URLServicio; } public void getRespuesta() throws Exception { try { String mBoundary = "SUPSUP"; /* Strings a usar para el contenido */ String nuevaLinea = "\r\n"; String contDisp="Content-Disposition: multipart/form-data; name=\"foto\";filename=\"sample.jpg\""; String contEnc = "Content-Transfer-Encoding: binary"; String type="Content-Type:image/jpeg"; /* Preparar objeto a enviar */ byte[] mBytesPostear; if (mDatos == null){ InputStream mImagen = this.getClass().getResourceAsStream("sample.jpg"); mBytesPostear = IOUtilities.streamToBytes(mImagen); } else { mBytesPostear = mDatos; } System.err.println("Longitud de imagen: " + mBytesPostear.length); /* Preparar contenido de salida */ ByteArrayOutputStream mOutput = new ByteArrayOutputStream(); mOutput.write(nuevaLinea.getBytes()); mOutput.write("--".getBytes()); mOutput.write(mBoundary.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(contDisp.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(type.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(contEnc.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(nuevaLinea.getBytes()); mOutput.write(mBytesPostear); mOutput.write(nuevaLinea.getBytes()); mOutput.write("--".getBytes()); mOutput.write(mBoundary.getBytes()); mOutput.write("--".getBytes()); mOutput.write(nuevaLinea.getBytes()); /* Preparar conexión y headers */ HttpConnection mConexion = (HttpConnection) Connector.open(mURL); mConexion.setRequestMethod(HttpConnection.POST); mConexion.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE, HttpProtocolConstants.CONTENT_TYPE_MULTIPART_FORM_DATA + ";boundary=" + mBoundary); mConexion.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_LENGTH, String.valueOf(mOutput.size())); mConexion.setRequestProperty( "x-rim-transcode-content", "none" ); /**********************/ System.err.println("Escribiendo stream"); OutputStream mOS = mConexion.openOutputStream(); /* Escribir el contenido */ mOS.write(mOutput.toByteArray()); mOutput.flush(); mOutput.close(); mOS.flush(); mOS.close(); System.err.println("Se terminó de escribir payload, recibiendo respuesta"); /* Recibir respuesta del servidor */ if (mConexion.getResponseCode() != HttpConnection.HTTP_OK){ throw new Exception("El servidor NO regresó OK (200) al leer la respuesta. Saliendo..."); } InputStream mIS = mConexion.openInputStream(); int mLongitud = (int) mConexion.getLength(); if (mLongitud > 0) { int mActual = 0; int mBytesLeidos = 0; byte[] mBytes = new byte[mLongitud]; while ((mBytesLeidos != mLongitud) && (mActual != -1)){ mActual = mIS.read(mBytes, mBytesLeidos, mLongitud - mBytesLeidos); mBytesLeidos += mActual; } String mRespuesta = new String(mBytes); System.out.println("Respuesta: " + mRespuesta); } else { throw new Exception("No se recibió respuesta del servidor"); } } catch (IOException e) { throw new Exception("Error de lectura o escritura: " + e.getMessage()); } } }
-
NAT problem for the Web server
I have configured the new cisco asa 5512. I can't access our Web site from outside. We host our internal site
This is how I configured. Internal IP of the Web server is 192.168.1.19
in the following config, I changed my public ip of the webserver to 99.99.99.99
Can someone help me with this.the Web server object networkHome 192.168.1.19NAT 99.99.99.99 static (inside, outside)NAT (inside, outside) interface static tcp www www serviceoutside_access_in tcp allowed access list any object Webserver eq wwwAccess-group outside_access_in in interface outsideIt is not open by default, but you already enabled.
Remember that all you need is a translation you have:
object network Webserver host 192.168.1.19 nat (inside,outside) static 99.99.99.99
And the list of access allowing access to desired ports:
access-list outside_access_in permit tcp any object Webserver eq www access-list outside_access_in permit tcp any object Webserver eq 8080 access-group outside_access_in in interface outside
-
Just bought a HP Photosmart 7520 installed on Windows 7 Pro and cannot connect to the web server despite having internet connection any ideas
Hi, sorry to hear that you're having trouble is your new printer connected to the HP web services. Here is a link to a post that covers some possible causes and solutions for connectivity issues. Hope that this help get you connected, but post back if your still having the problem.
Good luck.
-
error message "there is a communication problem with the web server."
I'm trying to connect to three rivers FCU website www.3riversfcu.org and I get the message error "there is a communication problem with the web server." I am running Windows 7 on Toshiba laptop. No idea how to solve this problem? Something in the settings?
Hi, Mayhem15,
See if this troubleshooting help. It was written for Windows XP, but in many cases, these documents still apply for more recent versions of Windows.
How to troubleshoot possible causes of Internet connection problems in Windows XP
-
Unable to connect to port 80 on the web server on host Ubuntu guest
I have a very strange problem. I've been running a VM of 14.04 Ubuntu on my MBP under VMware Fusion for some time. I have re-installed Yosemite during the weekend for a clean installation trying to solve some of the problems I had. I now have my Ubuntu VM up and running. All right, except that I can't hit the web server on the virtual machine.
I can access the virtual machine in a variety of different ways!
- Ping: I can ping
- SSH: I can ssh in
- psql: I can connect to the database remotely via port 5432
- NFS: can I get the files of the virtual machine files on my hard drive
- Tomcat: I can access my web application directly through Tomcat on port 8080
When I do a scan of port of the virtual machine, I get this:
Port scan started...
Host port scan: 10.39.186.13
Open TCP Port: 22 ssh
Open TCP Port: 111 sunrpc
Open TCP Port: 389 ldap
Open TCP Port: 2049 nfsd
Open TCP Port: 5001 commplex-link
Open TCP Port: 5432 postgresql
Open TCP Port: 8000 irdmi
Open TCP Port: 8080 http-alt
Open TCP Port: 8104
Open TCP Port: 37805
Open TCP Port: 41301
Open TCP Port: 42060
Open TCP Port: 55224
Open TCP Port: 60974
Port scan has completed...
Port 80 is not even there. The virtual machine itself, I can access the site via port 80:
wget xnat@xnatdev:~$ http://xnatdev.wurstworks.com
-2015-06-22 11:20:50- http://xnatdev.wurstworks.com/
Resolution xnatdev.wurstworks.com (xnatdev.wurstworks.com)... 127.0.0.1
Connection to xnatdev.wurstworks.com (xnatdev.wurstworks.com) | 127.0.0.1 |: 80... connected.
Query HTTP sent, awaiting response... 302 Found
Location: http://xnatdev.wurstworks.com/app/template/login.VM;JSESSIONID=18A2C3A7C7AB6A63F39F7AC49E54FCD4 [next]
-2015-06-22 11:20:50- http://xnatdev.wurstworks.com/app/template/login.VM;JSESSIONID=18A2C3A7C7AB6A63F39F7AC49E54FCD4
Reuse an existing connection to xnatdev.wurstworks.com:80.
Query HTTP sent, awaiting response... 200 OK
Length: unspecified [text/html]
Record on: 'index.html '.
[ <=> ] 12,818 --.-K/s in 0.001s
2015-06-22 11:20:50 (11.2 MB/s) - 'index.html' saved [12818]
But the host OS, I get this:
wget rherrick@Aerys:~$ http://xnatdev.wurstworks.com
-2015-06-22 11:21:50- http://xnatdev.wurstworks.com/
Resolving xnatdev.wurstworks.com... 10.39.186.13
Connection to xnatdev.wurstworks.com | 10.39.186.13 |: 80... has failed: connection refused.
I tried switching between NAT and open networking (I know that I had to work with NAT before, but I'm willing to try anything at this point).
I'm on OS X 10.10.3 and the most recent, and VMware Fusion 7.1.2. Any ideas on how to get this working would be greatly appreciated!
OK, got it market. The issue was the listen directive in configuring nginx for connecting Tomcat. I'd put it domain name FULL and port 80 on the server, but something I did is the determination of the FULL domain to 127.0.0.1 instead of the IP DHCP-published name. If this does not work because the incoming request has been the full domain name of host configured in my/etc/hosts, OS, then nginx not pair together configuring nginx for the domain since listening has been screwed up.
-
PHP form script is missing from the web server or PHP is not properly configured on your web hosting provider. Help - I get this message on my site when the form is filled out and you press send... Check if the form PHP script has been downloaded correctly, contact your host about the configuration of PHP.
Hi Graham,
If you, please add your site to this link ( http://my-site.com/scripts/form_check.php ) and make sure that all green checkmarks are appearing. If they don't, let us know what errors you seem to receive and include the link to your site.
In addition, check out this guide on the forums of Muse troubleshooting: Troubleshooting Muse form used on the servers of third party Widgets
I hope this helps!
Emily
-
Upgrading to 4 Fusion and now I can't access the web server on my Mac host
I am running OS x 10.6.8 and I'm hosting a virtual machine running windows XP, using NAT Networking. I have a web server running on the mac I need to access from the hosted virtual machine. I used to be able to just use the IP address of the gateway in the virtual machine for the web server, but it doesn't seem to work. If I set the external IP address of the mac it seems to work, but I don't have a static IP address, so it is a pain to update every hour.
Any help would be appreciated!
Thank youAlthough in some cases, the IP address of the gateway works, nevertheless IMO that is a misuse and should use the address IP of VMware NAT Virtual Ethernet adapter IP address the host not IP address of gateway.
If in a Terminal, run the following command:
ifconfig | grep -A 3 vmnet8
Then use the address after "inet" IP said at the exit.
Example on my system:
Last login: Mon Jan 16 12:43:00 on ttys000 Computer:~ WKZ$ ifconfig | grep -A 3 vmnet8 vmnet8: flags=8863
mtu 1500 ether 00:50:56:c0:00:08 inet 172.16.198.1 netmask 0xffffff00 broadcast 172.16.198.255 Computer:~ WKZ$ So I use 172.16.198.1 of the prompt or use the host name of the Mac (without the .local) after the addition of 172.16.198.1 and the hostname of the Mac to the guest hosts file.
Post edited by: WoodyZ - posted: January 16, 2012 12:52
Maybe you are looking for
-
the "key and the @ key have been reversed since update to El Capitan." How can I fix it?
-
Hello Really, just a little doubt. I bought my Toshiba Satellite Pro some time in early July 2008. Since then, I had two repairs guaranteed made in this regard. Since the second repair the socket where you plug the AC charger into the laptop itself h
-
LaseJet 2200dtn: how to upgrade the firmware of lj2200dtn?
the update of the firmware hp2200dtn?
-
HP DESKJET F 4200 series: PRINTING
I just downloaded Windows 10. When you try to print anything, it creates a PDF in ADOBE. Now how to get this corrected to send to my PRINTER?
-
Pavilion dv6t - 6 c 00 CTO Quad: need to find a compatible HDD for my motherboard
I have a HP Pavilion dv6t - 6 c 00 CTO Entertainment Notebook PC Edition Quad [model: A1U59AV] with 2nd-gen-intel-core-i7 processor [ http://support.hp.com/us-en/product/HP-Pavilion-dv6-6c00-Quad-Edition-Entertainment-Notebook-PC-seri... ] my hard dr