I have a question regarding web services. I have a number of web services which I am going to deploy on JBoss. These web services are accessed from a web application on the same server. I want the web services to be accessed from the web application but not to be accesses directly from outside the server. Can I restrict access to the web services from localhost? Alternatively can I change the port for access to the web services?