A blank page after logging to TWX Composer
- February 28, 2019
- 3 replies
- 2343 views
Hi to all.
When I connect to TWX by typing "localhost" in the web address field - everything works fine. But if typed "<local hostname>" I see a blank page. ThingWorx asks me credentials in both ways.
<local hostname> = demoiot
Windows 10
Java 1.8.0_92(64)
Tomcat 8.5.23 [tomadmin/
PostgreSQL 9.4.21
ThingWorx Platform 8.3
Some more info:
pg_hba.conf
host all all 0.0.0.0/0 trust
host all all ::/0 trust
postgresql.conf
listen_addresses = '*'
\webapps\manager\META-INF\context.xml
comment strings
<!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
<Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/>
-->
platform-settings.json
"PersistenceProviderPackageConfigs": {
"PostgresPersistenceProviderPackage": {
"ConnectionInformation": {
"jdbcUrl": "jdbc:postgresql://demoiot:5432/thingworx",
"password": "ptc",
"username": "twadmin"
}
}
}
What is a problem?
Many thanx
P.S. I was typing "localhost" in all fields where it was needed while I was installed TWX and 3rd-party software.
pgAdmin III works fine with "demoiot:5432" server name.

