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.

Tags: VMware

Similar Questions

  • Windows 8 mail, Gmail error unable to connect. Make sure that the information you entered is correct

    I tried to set up a Gmail on windows mail 8 for some time. It worked before but then I had to re - install the app and I can't seem to log in now. The only difference between now and when it worked is that I had turned on google + once I had it working the first time, but now I have that turned off.

    I always get this error: unable to connect. Make sure that the information you entered is correct.
    If I have the chance and he fails to add account, then synchronization takes a long time and emails take 5-10 minutes to arrive on the application it does to get to my account in a web browser and on my phone.
    Many users complain about this, we really need a strong response here.

    Hi Martyr844_Coffe,

    Make sure that your google account manager has granted approval of this log - in...

    From there... https://myaccount.google.com/.

    And change the account setting Gmail on Mail app account like the following picture setting...

    (To find out the specific parameters of the account )

  • Cannot configure gmail with messaging metro app error unable to connect. Make sure that the information you entered is correct

    I was able to add an account Gmail for Windows 8 Mail App on my first install and everything worked well. Then bought an SSD and completely installed a new OS of Windows 8 it. Connected with the Live account that I used with the first installation of windows 8. All synchronized. The Mail app has Live accounts and Gmail put in place without having to re-enter the information myself. However, I noticed that Gmail sync never even when I choose sync. Removed from the account to add it again, but have failed so far. Keep gives me the error "unable to connect. Make sure that the information you entered is correct. "Tried to install it on my phone Windows 8 (Nokia 920) and he keeps asking me to re-enter the password. I'm 100% sure that I have no 2-step check set up I checked several times. Never allowed them in the first place.

    At this point, I don't know if it's Google problem or the problem of the Mail application. Any suggestion?

    I also had the same problem. I had no problem for the other three Windows 8 install / computers that I used and the last she has imported all the fine adjustments. However, I had a portable Windows 8 different today and worked alone of my three accounts to Gmail. How I fixed it:

    Of the Mail app: charms > settings > accounts > add account > other account (NOT GMAIL!)
    Click IMAP for account type, then enter your credentials as usual. It connected and synchronized immediately for me.
    Hope this helps!
  • Unable to connect Adobe cloud after update the expiration date of credit card

    Unable to connect Adobe cloud after update the expiration date of credit card.

    The activation server show that CC has expired on 21 September, 2015. Please renew the subscription if possible or re-purchase.

    The best option will be to contact Adobe support for this.

    Concerning

    Stéphane

  • I am unable to connect to creative cloud. The error that says Unable to get on the Adobe servers

    I am unable to connect to creative cloud. The error that says Unable to get on the Adobe servers

    Please see:

    1. Creative cloud activation and login troubleshooting
    2. Adobe Download Manager cannot happen on the Adobe servers
    3. Cloud cannot create arrived on Adobe servers.

    You can try to remove creative cloud app and reinstall it.

    Install the cloud creative app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • I installed AVG 9.0 and now I get the following MSN Explorer pop up of message.__You are unable to connect to your e-mail server. There may be a problem with your Internet connection, or a problem with the mail server. Pleas try again.

    I installed AVG 9.0 and now I get the MSN Explorer pop next message.
    You can not connect to your mail server. There may be a problem with your Internet connection, or a problem with the mail server. Pleas try again.

    Sure.  Analysis of your e-mail anti-virus program:

    • Can slow to receive and send messages, or even fail.
    • Can damage files of storage for messages that you've already sent and received, making it inaccessible messages.
    • Is not necessary.  If you receive an infected attachment and try to open it, the protective device in real time of your antivirus program will block the infection.

    Here are a few web pages accurately:

    Why you don't need your anti-virus program to scan your e-mail
    The other threat email: the Corruption of files in Outlook Express
    Why some antivirus software can change the settings in e-mail programs
    Email scanning - advantages and disadvantages

  • Unable to connect to Essbase on Regional service Console server because of error 1042006

    Hello

    I installed the whole EPM 11.1.1.3 on Windows x 64 platform. When I try to connect the server essbase through the Regional service console, I get the following error:

    Essbase Server: localhost com.essbase.eas.essbase.defs.ServerCommands.Connect December 28, 2010 17:39:08 IST
    Error: 1042006: error network [10061]: unable to connect to [localhost:1423].
    The customer has expired waiting to connect to Essbase Agent using the TCP/IP protocol.
    Check your network connections.
    Also, make sure that the values for server and port are correct

    I checked the CFG file, which shows the correct port as well. I can connect to the Administration of Essbase server located on the same machine, but do not know why I get this error message. Below I have pasted the contents of the CFG file, in case where someone wants to cross check it out.


    CFG File indicates the following:

    ; The following entry specifies the full path to the JVM. DLL
    ; JvmModuleLocation D:\Hyperion\common\JRE\Sun\1.5.0\bin\client\jvm.dll
    BPM_Oracle_DriverDescriptor "MERANT 5.2 OEM 32-BIT Oracle Wire Protocol.
    BPM_DB2_DriverDescriptor "MERANT DB2 Wire Protocol BITS 32 5.2 OEM"
    BPM_SQLServer_DriverDescriptor "MERANT 5.2 OEM 32-BIT SQL Server Wire Protocol.
    BPM_SQLServer_DriverDescriptor "SQL Server."
    ; BPM_Netezza_DriverDescriptor "NetezzaSQL".
    BPM_Teradata_DriverDescriptor "Teradata.
    BPM_ORACLEBI_DriverDescriptor 'Oracle BI Server'
    ; AuthenticationModule CSS
    ; AGENTPORT 1423
    ; SERVERPORTBEGIN 32768
    ; SERVERPORTEND 33768
    ; AGENTDESC hypservice_1
    AGENTPORT 1424
    SERVERPORTBEGIN 32768
    SERVERPORTEND 33768
    AGENTDESC hypservice_1


    Ideas that would be really useful.

    Thank you
    AJ

    There is a clue in the error message and the CFG file you posted.

    The error message:
    ...
    Unable to connect to [localhost:1423].
    ...

    CFG file indicates:

    ...
    ; AGENTPORT 1423
    ...
    AGENTPORT 1424
    ...

    The port default (1423) is commented out and changed in 1424. Your EAS connection must use port 1424 and not default to 1423.

    Try to use "localhost:1424" (without the quotes) in the Essbase server field when you add the Essbase server to EAS.

    Published by: Robert Armstrong on December 29, 2010 13:25 - typo

  • Install second connection to the web server at DB 10R2 running Apex 3.0.1.00.08

    All,

    I'm trying to add a second web server to move a part of the web traffic to another resource. I have a 3.0.1.00.08 instance that runs on the database connected to the web server and I just wanted to add a second connection to the front-end web server.

    The second is web server currently running SOA suite so it was logical financial to simply add another call on this web server.

    ServerA (existing web server) to connect successfully to the server b (existing database server).
    ServerC (new web server) to be connected on server b.

    Directory copied apex and images ServerC ServerA

    TNSNAMES. ORA on ServerC located under ORACLE_HOME\NETWORK\ADMIN
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = ServerB.Address)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = ORCL)
    (SERVER = DEDICATED)
    )
    )

    Server c, I use SQLPLUS to connect to server b using APEX_PUBLIC_USER, correct password, ORCL

    Change ORACLE_HOME/Apache/modplsql/conf/dads.conf on ServerC

    Alias is ' ORACLE_HTTPSERVER_HOME\Apache\images / '.
    AddType text/xml xbl
    AddType text/x-component htc
    < /plex location >
    Order deny, allow
    Docs PlsqlDocumentPath
    AllowOverride None
    PlsqlErrorStyle DebugStyle
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString cn = orcl, cn = oraclecontext NetServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    Apex PlsqlDefaultPage
    PlsqlDatabasePassword correct_password
    Allow all the
    < / location >

    Restart HTTP_SERVER on ServerC.

    I get the error:
    Journal of the database failed

    TNS is unable to connect to the destination. Address provided is not a valid TNS or destination is not listening. This error can also occur due to underlying network transport problems.

    Ensure that the TNS name in the entry of the DAD for this URL connection string is valid and the listener of the database is running.

    ORA-12170: TNS: Connect timeout occurred error-Code: 12170 error TimeStamp: kills, 16 December 2008 20:35:58 GMT

    I thought it was weird since it's what worked on the other server and using sqlplus.

    I also tried to change the dads.conf file to use the following connection string:
    PlsqlDatabaseConnectString SERVERB:PORT:ORCL ServiceNameFormat

    No luck. Why the connection work with SQLPlus and not modplsql? What I am doing wrong? If not, how can I solve this?

    Any ideas?

    Thank you
    Keith

    Keith:

    Try to use the "SIDFormat" in dads parameter 'PlsqlDatabaseConnectString' instead of 'ServiceNameFormat '.

    CITY

  • WANT to 114 does not connect to the Web server

    Have installed a 114 WANT, everything works except for the webservices - wireless eprint etc.

    I tried everything-

    1 re-install services - error cannot connect to the web server

    2. Update - error cannot connect to the web server

    3 give the static IP address

    4 restore the default settings

    I have an internet connection on all computers.  Can someone give me a hint on how to get Web services to work?

    Hi sbenzie,

    How your printer is currently connected to the network? Via Ethernet or wireless? What is your current router / network configuration? That shows your printer because it is the IP address? What happens when you try to launch applications?

    Not yet given the information above, here's what I would try.

    I suggest to reconnect the printer to the network by running the Wireless Setup Wizard and attempt to restart the web services. If this is not enough, you may change some DNS settings in printers EWS (built-in web server) to do this, put the IP address in a browser window on your PC.

    This should start the integrated Web server. In SAP, select the network on the network tab, select 'network '.

    Then select "network address" (IP). Do not change the IP configuration at the top. Go down under "DNS address configuration"and select 'Manual DNS server'. " Under manual DNS server, enter (an 8 in each box on the first line) 8.8.8.8 and 8.8.4.4 on the second line. Press the button 'Apply' at the bottom.

    Now try to connect to Web Services again.

  • I can\ to connect to the web server integrated on my D7460?

    Hello

    I had some problems with my Photosmart D7460 printer and resolved (for now) most of them.

    Except that I can't connect to the built-in web server. Also, I do not get a response when I try and ping the printer.

    Giving to think I have problems of network with the exception that I can print to this printer... Well well, from most of the computers on the network, but that's another story.

    I checked what the said road IP address he gave to the printer.

    Any suggestions would be welcome.

    OK, I seem to have solved the problem.

    I'm not sure that bit of material, it was causing the problem but it seems to come form tries to use "WPA & WPA2" parameters (BT Home Hub 3.0) wireless access point.

    Who having spent 'WPA only' I can now ping, print and connect to the web server.

  • Connect to the Web server

    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.

    http://h30434.www3.HP.com/T5/eprint-print-apps-mobile-printing-and-ePrintCenter/eprint-apps-connectivity-troubleshooting-please-review/TD-p/572635

  • WebBrowser connection to the Web server

    Hello

    Have a question: -.

    How does the connection appears of the Webbrowser to the Web server in obiee 10g? I installed the obiee 10g in my vmware machine and disabled the Internet Protocol, but I see still works, you want to know how does it work?

    Thank you
    SM.

    He will work with the Intranet... Not with the internet...

    Mark as correct if it is useful.

  • change port number for the mobile server after installation

    Jin
    I use windows 2003 server release 2, Server Oracle 11 g R2 and oracle database lite 10g R3. I installed successfully the mobile server with port 80, but when I start the mobile server I get an error message indicating that port 80 is already in use. Now, I need to change the port number of the mobile server. can someone tell me the solution.

    If the Oracle Lite installation type is INDEPENDENT, then to change the port number of Olite in any other available free port number, you must edit the file by default-web - site.xml or site.xml - web-http file present in $OLITE_HOME/mobile_oc4j/j2ee/mobileserver/config directory.

    You can at any time change the port in the file http web - site.xml and bounce services, the new port will take effect.

  • run the Web server in vmware

    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 IP

    and 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 windows

    Hi 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

  • 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

Maybe you are looking for

  • IMessage on mac and iphone

    I am running 10.9.5 OS X I have a shared icloud account connected this imac. Is it possible that if I connect on imessage with icloud account that I use on my iphone all other Macs connected with the same icloud account will not receive my messages.

  • Up and down arrow keys not working not

    I got the HP Pavilion g6t - 1B 00 CTO Notebook PC now for a year or two. I have been having some problems with internet connectivity and put my computer to "sleep". However, a few days ago my keyboard randomly started acting strangely. When I would t

  • Upgrade memory for a Satellite Pro 4320

    I own a Satellite Pro 4320. He has the memory factory (64 MB), and I want to develop it. I read in the manual that it is possible to install up to 576 MB. But in other documents and web pages, I read that 320 MB is the maximum memory. Anyone know wha

  • Satellite P10 - 304 cannot install wireless network adapter

    Hi, I recently ran a cover of my SP10 with recovery disks, I had with her. Since the resumption of the internal wireless network adapter is not working... the lights when I turn it on using the switch on the side and when I try to install the drivers

  • Pilot series of PCI

    I have problems with the serial pci on my my DC7700 after reinsalling XP, any solution? woxe